Demonstrate how to write Flow types for generators and coroutines
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.flowconfig
.gitignore
LICENSE.txt
README.md
package.json

README.md

Flow types for generators and coroutines

These are the code samples accompanying the blog post Flow types for generators and coroutines.

To install the examples, clone this repository and run:

npm install

To run the generators example, open src/generators.js and change rootDirectory to something smaller than your home directory and run:

npm run run:generators

To run the coroutines example, run:

npm run run:coroutines // Run the coroutines example

To run Flow on the source code, run:

npm run lint // Run flow on the source code