Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"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.


webOS 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...

Given that Mozilla already made their JS engine emulate Node.js (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.


> "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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: