Skip to content

krawaller/callbag-map-to

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

callbag-map-to

Callbag operator that transforms data passing to it to a fixed value.

npm install callbag-map-to

example

const fromIter = require('callbag-from-iter');
const forEach = require('callbag-for-each');
const mapTo = require('callbag-map-to');

const source = mapTo('foo')(fromIter([1,2,3]));

forEach(x => console.log(x))(source); // 'foo'
                                      // 'foo'
                                      // 'foo'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors