A relevant ad will be displayed here soon. These ads help pay for my hosting. Please consider disabling your ad blocker on Pony Foo. These ads help pay for my hosting. The article covers designing a JavaScript API to deal with asynchronous data inputs and outputs using generators to succinctly describe a set of operations. Promises can also be used to chain other operations after the output has be
![Asynchronous I/O with Generators & Promises](https://cdn-ak-scissors.b.st-hatena.com/image/square/2f0e291e0da46a4d6263d64d93117a637104585b/height=288;version=1;width=512/https%3A%2F%2Fi.imgur.com%2F2RLNwmx.png)