Hacker News new | ask | show | jobs
by jayd16 1067 days ago
The point is that it actually is insightful to think of it as callback sugar. That will give you better understanding of how the threading is handled when the calling method yields to the callee and conversely how it must be different when the caller isn't yielded.