Hacker News new | past | comments | ask | show | jobs | submit login

Promises still run in the main thread.

You could try to use a web worker, but then you run into the problem that they don't have shared memory, so you need to pass data back some other way.




IndexedDB runs on web workers, so that might be a good way to push the work off the main thread but still share the result.




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

Search: