1.0.0 • Published 6 years ago

callbag-iterate v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

callbag-iterate

A callbag puller sink which iterates through data from a pullable source. Think of it as a forEach loop for pullables.

npm install callbag-iterate

example

const fromIter = require('callbag-from-iter');
const iterate = require('callbag-iterate');

const source = fromIter([10,20,30,40])

iterate(x => console.log(x))(source); // 10
                                      // 20
                                      // 30
                                      // 40
1.0.0

6 years ago