You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tapping into concurrency. One of the great things about native iOS and Android development is the ability to use background threads. In iOS, we use Grand Central Dispatch. It would be wonderful if there was a way to run javascript on these threads, so that UI isnt blocked. Not sure if this is possible, but if so that would be a GAMECHANGER.
Describe Preferred Solution
Say theres a long running operation on ngOnInit() function. if we had a plugin which we could throw that long running operation (a heavy function) on the background thread, and when its complete, run the completion method on the foreground that would be sweet.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Feature Request
Ionic version:
[x] 5.x
Describe the Feature Request
Tapping into concurrency. One of the great things about native iOS and Android development is the ability to use background threads. In iOS, we use Grand Central Dispatch. It would be wonderful if there was a way to run javascript on these threads, so that UI isnt blocked. Not sure if this is possible, but if so that would be a GAMECHANGER.
Describe Preferred Solution
Say theres a long running operation on
ngOnInit()
function. if we had a plugin which we could throw that long running operation (a heavy function) on the background thread, and when its complete, run the completion method on the foreground that would be sweet.Describe Alternatives
Related Code
Additional Context
Honestly, if the capacitor team could implement this, it would make Ionic one step over React Native and be a huge gamechanger for devs.
Thank you!
The text was updated successfully, but these errors were encountered: