Hacker News new | ask | show | jobs
by sebstefan 585 days ago
What the fuck?

>Thrown in one of the following cases:

>If the current thread cannot be blocked (for example, because it's the main thread).

I guess that's why it's not so widely used

1 comments

It's not permitted on the browser main thread, but works fine on the Node main thread.