Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 515 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 515 Bytes

Asynchronous iteration demo

More information on asynchronous iteration: http://www.2ality.com/2016/10/asynchronous-iteration.html

Installation

cd async-iter-demo/
npm install

Demo

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
    

Tests

Running the tests:

npm t test/async_iter_tools_test.js