3 ms·
"HTML 5" has the web workers API for background tasks. They don't work while you visit other pages, though. I guess they'll have to introduce a new API for that
by Tichy 15y ago
"HTML 5" has the web workers API for background tasks. They don't work while you visit other pages, though. I guess they'll have to introduce a new API for that.
- bergie 15y agowebOS solved this by enabling apps to also ship Node.js code that would be able to run as background services. https://developer.palm.com/content/api/dev-guide/js-services/overview.html https://developer.palm.com/content/api/dev-guide/js-services... Given that Mozilla already made their JS engine emulate Node.js (http://blog.zpao.com/post/4620873765/about-that-hybrid-v8monkey-engine http://blog.zpao.com/post/4620873765/about-that-hybrid-v8mon...), it might not be so far-fetched to think that something similar could be done with B2G.
- azakai 15y ago> "HTML 5" has the web workers API for background tasks. They don't work while you visit other pages, though. Web workers should continue to work while you visit other tabs. But not if you browse away from the page with the worker.