Y
Hacker News
new
|
ask
|
show
|
jobs
by
f_devd
42 days ago
Because if you go down the callstack eventually you won't get the await keyword anymore; you'll get the actual 'waiters' and 'wakers' which define your scheduling
1 comments
groundzeros2015
42 days ago
Yeah. The OS handles scheduling and preemption so it’s done for you rather than a call in the stack.
link