Y
Hacker News
new
|
ask
|
show
|
jobs
by
esprehn
901 days ago
Pretty much, which is how browsers work in general with the single thread (ex. The html parser yields after a certain number of tokens or if user input is waiting).
React's concurrent mode is the same thing as well.