| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c1730b68-7165-a8ca-f3f6-5c8144ec572d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C86C:2CD505:D1D713:11FE246:697765C8 |
| html-safe-nonce | 347ff0c1ab48c4f792ce8cc0f931be484aa81974a5be944a6f38b60009b943c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODZDOjJDRDUwNTpEMUQ3MTM6MTFGRTI0Njo2OTc3NjVDOCIsInZpc2l0b3JfaWQiOiIzMzgzMzQ2NjM3OTIzOTAyOTIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f620e14429471f80498a8c2330dd912f19e14139511e59d3efcbda3115ccf6b2 |
| hovercard-subject-tag | pull_request:297281571 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/7514/files |
| twitter:image | https://avatars.githubusercontent.com/u/32623552?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/32623552?s=400&v=4 |
| og:image:alt | What is the current behavior?
The asynchronous methods of file-system (i.e. writeText), are executed on the main UI thread. This can lead to poor performance (i.e. UI thread freezing) when handlin... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 425384cc392ce2ddd1a7a0c1e7043ab4192d4c04452a2ed7f2f38d2fa9293b5a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 72de26f7ca9bdb0559ebf1e63e6c685ee2c520ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/NativeScript/NativeScript/pull/7514/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F7514%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F7514%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2FNativeScript |
| Reload | https://github.com/NativeScript/NativeScript/pull/7514/files |
| Reload | https://github.com/NativeScript/NativeScript/pull/7514/files |
| Reload | https://github.com/NativeScript/NativeScript/pull/7514/files |
|
NativeScript
| https://github.com/NativeScript |
| NativeScript | https://github.com/NativeScript/NativeScript |
| Please reload this page | https://github.com/NativeScript/NativeScript/pull/7514/files |
|
Notifications
| https://github.com/login?return_to=%2FNativeScript%2FNativeScript |
|
Fork
1.7k
| https://github.com/login?return_to=%2FNativeScript%2FNativeScript |
|
Star
25.4k
| https://github.com/login?return_to=%2FNativeScript%2FNativeScript |
|
Code
| https://github.com/NativeScript/NativeScript |
|
Issues
869
| https://github.com/NativeScript/NativeScript/issues |
|
Pull requests
58
| https://github.com/NativeScript/NativeScript/pulls |
|
Discussions
| https://github.com/NativeScript/NativeScript/discussions |
|
Actions
| https://github.com/NativeScript/NativeScript/actions |
|
Projects
0
| https://github.com/NativeScript/NativeScript/projects |
|
Wiki
| https://github.com/NativeScript/NativeScript/wiki |
|
Security
0
| https://github.com/NativeScript/NativeScript/security |
|
Insights
| https://github.com/NativeScript/NativeScript/pulse |
|
Code
| https://github.com/NativeScript/NativeScript |
|
Issues
| https://github.com/NativeScript/NativeScript/issues |
|
Pull requests
| https://github.com/NativeScript/NativeScript/pulls |
|
Discussions
| https://github.com/NativeScript/NativeScript/discussions |
|
Actions
| https://github.com/NativeScript/NativeScript/actions |
|
Projects
| https://github.com/NativeScript/NativeScript/projects |
|
Wiki
| https://github.com/NativeScript/NativeScript/wiki |
|
Security
| https://github.com/NativeScript/NativeScript/security |
|
Insights
| https://github.com/NativeScript/NativeScript/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose |
| mudlabs | https://github.com/mudlabs |
| NativeScript:master | https://github.com/NativeScript/NativeScript/tree/master |
|
Conversation
3
| https://github.com/NativeScript/NativeScript/pull/7514 |
|
Commits
17
| https://github.com/NativeScript/NativeScript/pull/7514/commits |
|
Checks
0
| https://github.com/NativeScript/NativeScript/pull/7514/checks |
|
Files changed
| https://github.com/NativeScript/NativeScript/pull/7514/files |
| Please reload this page | https://github.com/NativeScript/NativeScript/pull/7514/files |
|
feat(file-system): run asynchronous methods on seperate thread
| https://github.com/NativeScript/NativeScript/pull/7514/files#top |
|
Show all changes
17 commits
| https://github.com/NativeScript/NativeScript/pull/7514/files |
|
074793f
Add Worker
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/074793f7c9ea3dec7cd3b759de1d94dca0e1e82d |
|
3a5f8bc
Add Worker components
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/3a5f8bcc6a8f1b089f76d704683bc4173e4343f8 |
|
f03ef6f
Add FSWorker
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/f03ef6ffaa3392676d1fb968da6202475631f101 |
|
d3e9d96
Refactor
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/d3e9d96c76585a783af0ccef900b3549f36deddc |
|
3e47d83
Refactor
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/3e47d83141a5c13718fb77bb722b78b3abe6caaf |
|
873405b
Add worker namespace declaration
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/873405b5e22fcef0f7efd55e099dc7d58467dd10 |
|
659155a
Add Worker
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/659155a8717e053a4d9427dd2f96df154ad71a36 |
|
55a9d56
Add Worker components
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/55a9d5629feaf2e9e5f5c7f08b651e26bce2602a |
|
a2ab5a4
Add FSWorker
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/a2ab5a455a3371df0e8e3541a795cf9b05c4bd12 |
|
5f08ecb
Refactor
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/5f08ecb20a0dd6b43bbb4b0ee43a7e531c327a49 |
|
25d7ecd
Refactor
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/25d7ecd785a2d89650a02b0be7bfb51bbdbc1ac9 |
|
e2c8a6b
Add worker namespace declaration
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/e2c8a6bb338f62d6cb980240a793f039bdf61991 |
|
04a676d
Merge branch 'file-system-thread' of github.com:mudlabs/NativeScript …
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/04a676d1c357f231787b02a646f1fe781e947640 |
|
6da6b9f
Refactor
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/6da6b9f6a83406da7fe682a48afe5f929876c2bc |
|
98b2f94
Refactor components.ts
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/98b2f94383edf7a97a029b2bb2ab7a945d30a7f7 |
|
be6605e
Update import paths (relative)
mudlabs Jul 13, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/be6605ec81fb6fc52e283a97e2aa263ba0d73dc9 |
|
473f737
Merge branch 'master' into file-system-thread
mudlabs Jul 20, 2019
| https://github.com/NativeScript/NativeScript/pull/7514/commits/473f73733bc67ca53ad41f20a024c3e1409fde50 |
|
Clear filters
| https://github.com/NativeScript/NativeScript/pull/7514/files |
| Please reload this page | https://github.com/NativeScript/NativeScript/pull/7514/files |
| Please reload this page | https://github.com/NativeScript/NativeScript/pull/7514/files |
|
components.ts
| https://github.com/NativeScript/NativeScript/pull/7514/files#diff-79a4582d74803309889470225bf12b8d1e006098f2d230bf7ab96baabea6be8c |
|
worker.ts
| https://github.com/NativeScript/NativeScript/pull/7514/files#diff-d57d7a61927fb7ac08b2d9ab19abd67ad19448421e1745db0d601c8bd21b18de |
|
file-system.d.ts
| https://github.com/NativeScript/NativeScript/pull/7514/files#diff-1e0d790fdd9dc2fa3aab19d5b58edbca732e045d98bb8de60b719e03f8575fa1 |
|
file-system.ts
| https://github.com/NativeScript/NativeScript/pull/7514/files#diff-da35d10e2ed913da757f387dd25f0a2697ff845f93aec1ceb804e2b640b7c647 |
| tns-core-modules/file-system/file-system-worker/components.ts | https://github.com/NativeScript/NativeScript/pull/7514/files#diff-79a4582d74803309889470225bf12b8d1e006098f2d230bf7ab96baabea6be8c |
|
View file
| https://github.com/NativeScript/NativeScript/blob/473f73733bc67ca53ad41f20a024c3e1409fde50/tns-core-modules/file-system/file-system-worker/components.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/NativeScript/pull/7514/{{ revealButtonHref }} |
| Please reload this page | https://github.com/NativeScript/NativeScript/pull/7514/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |