An open API service indexing awesome lists of open source software.

https://github.com/anythingcodes/es6-async-fun

Generator functions and async requests
https://github.com/anythingcodes/es6-async-fun

2016 async ecmascript es6 fetch functions generator generators

Last synced: 9 months ago
JSON representation

Generator functions and async requests

Awesome Lists containing this project

README

          

# Async Fun

Describes 5 examples within `scripts.js` for processing data from an API, in order of increasing _awesomeness_, including:
1. Callbacks
2. Cleaner, named function-based callbacks
3. Promises
4. Fetch (a promise-based API that is part of ES6)
5. Generator Functions

Made for a Girl Develop It ES6 course.