Hacker News new | ask | show | jobs
by i_am_ralpht 4218 days ago
Is that a language feature or a runtime/library feature though?
1 comments

The language is designed to handle events/messages because it runs on single thread in the browser. As far as I know, you cannot spawn threads.

The runtime/library does it under the hood.