Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
/ callbag-iterate Public archive

๐Ÿ‘œ Callbag puller sink that iterates over a pullable source

License

Notifications You must be signed in to change notification settings

staltz/callbag-iterate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

callbag-iterate

DEPRECATED IN FAVOR OF callbag-for-each

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

About

๐Ÿ‘œ Callbag puller sink that iterates over a pullable source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published