All Projects â†’ staltz â†’ callbag-observe

staltz / callbag-observe

Licence: MIT License
👜 Callbag listener sink that receives data from any listenable source

Programming Languages

javascript
184084 projects - #8 most used programming language

callbag-observe

Callbag listener sink that gets data from any listenable source. Think of it as "observable.subscribe".

npm install callbag-observe

example

const interval = require('callbag-interval');
const observe = require('callbag-observe');

const source = interval(1000);

observe(x => console.log(x))(source); // 0
                                      // 1
                                      // 2
                                      // 3
                                      // ...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].