most-from-array
v1.0.3
Published
Creates a mostjs stream from an array
Downloads
9,902
Maintainers
Readme
most-from-array
Creates a most/core stream from an array.
Usage
import { fromArray } from 'most-from-array'
const stream = fromArray([1, 2, 3, 4])
const tapped = tap(console.log, stream)
runEffects(tapped, newDefaultScheduler())
/*
Console output:
1
2
3
4
*/