logoalt Hacker News

f_devdtoday at 4:14 PM1 replyview on HN

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


Replies

groundzeros2015today at 5:06 PM

Yeah. The OS handles scheduling and preemption so it’s done for you rather than a call in the stack.