Creates a most/core stream from an array.
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
*/
Creates a most/core stream from an array.
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
*/