Implementing coroutines in JavaScript through 'reduce'
iostreamer.me