JSPM

most-from-array

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1259
  • Score
    100M100P100Q111538F
  • License MIT

Creates a mostjs stream from an array

Package Exports

  • most-from-array

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (most-from-array) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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