More information on asynchronous iteration: http://www.2ality.com/2016/10/asynchronous-iteration.html
cd async-iter-demo/
npm install
Trying out the lines
command line tool:
-
Version based on async iteration:
npm run b src/lines.js src/lines.js
-
Version based on CSP:
npm run b src/lines-csp.js src/lines.js
Running the tests:
npm t test/async_iter_tools_test.js