JSPM

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

Efficient stream sharing for most.js

Package Exports

  • @most/multicast

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/multicast) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

⚠️ Deprecated ⚠️

@most/multicast is deprecated.

Support and maintenance will cease when @most/core 1.0 is released. Meanwhile, only critical bug fixes will be released.

Its functionality is currently available in @most/core and will also be available in most 2.0.

@most/multicast

Efficient source sharing of an underlying stream to multiple observers.

API

multicast :: Stream a → Stream a

Returns a stream equivalent to the original, but which can be shared more efficiently among multiple consumers.

stream:             -a-b-c-d->
multicast(stream):  -a-b-c-d->

Using multicast allows you to build up a stream of maps, filters, and other transformations, and then share it efficiently with multiple observers.