Hacker News new | ask | show | jobs
by coldtea 3410 days ago
>My question is, what is the threshold that I can assume that my code will run sync, and when it cant?

It will always run sync, unless you call something that accepts a callback (either at the first level, or nested in something else you call).