An extremely intuitive, small, and fast functional reactive stream library for JavaScript
dependabot[bot] on npm_and_yarn
chore(deps): bump shell-quote f… (compare)
dependabot[bot] on npm_and_yarn
staltz on master
chore(deps): bump elliptic from… (compare)
dependabot[bot] on npm_and_yarn
chore(deps): bump elliptic from… (compare)
--
is constant time between the diff events
this example works as expected
const xs = xstream.Stream
var stream = xs.periodic(1000).take(3)
xs.merge(stream, stream.take(1))
.addListener({
next: i => console.log(i),
error: err => console.error(err),
complete: () => console.log('completed'),
})
Output:
0
0
1
2
"completed"