Skip to content

Latest commit

 

History

History
executable file
·
20 lines (16 loc) · 312 Bytes

README.md

File metadata and controls

executable file
·
20 lines (16 loc) · 312 Bytes

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
*/