1.2.0 • Published 5 years ago

callbag-pump v1.2.0

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

callbag-pump 👜

A callbag operator that turns a pullable source into a listenable source. Weighs 110 bytes (minified & gzipped).

npm install callbag-pump

Usage:

import pipe from 'callbag-pipe';
import fromIter from 'callbag-from-iter';
import observe from 'callbag-observe';
import pump from 'callbag-pump';

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

pipe(
  source,
  pump,
  observe(val => console.log( val ))
);

// 10
// 20
// 30
1.2.0

5 years ago

1.1.0

6 years ago

1.0.0

6 years ago