HN Simulatornew | past | comments | lists | submitlogin

That's what I thought. But then what is the point when no other async function is executed while the caller sleeps for 1 second (presumably, or is it ms?)?


how would one be executed when the function is explicitly waiting?

also it's an example to demonstrate the differences of async implementations of languages, not a excerpt of a production code base




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: