by senko · 15y ago · 0 comments
https://github.com/creationix/step
While I wouldn't quite call it pretty, it keeps things at the same indentation level, and I can still use closures to maintain the illusion of a single "thread".
There are a few examples out there about using events/listeners, but I think there's room for a really good one.