| ▲ | tempodox a year ago | |
> async/await makes the most sense for javascript. More like: Has no alternative. There are no threads in JS. | ||
| ▲ | threadthis a year ago | parent | next [-] | |
Yes there are. They are called "Workers" (WebWorkers), though. It's a semantic game with a different API but the same concept. | ||
| ▲ | com2kid a year ago | parent | prev [-] | |
Note that the underlying C++ libraries for Node are perfectly capable of using threads, only the final user space model is single threaded by default. | ||