Re:Ask HN: What is the coolest JS library out there?
by Sephr on Sunday February 17, 2013 @12:16AM
(#5234283)
Another library that tries to make async code much cleaner is async.js (https://github.com/eligrey/async.js#readme). It uses yield and generators to abstract away the callback jungle.
For example, you can easily condense tens of lines of event code into a single `event = yield document.next("click")`
For example, you can easily condense tens of lines of event code into a single `event = yield document.next("click")`