Efficient stream sharing for most.js


1401.3.04 years ago6 years agoMinified + gzip package size for @most/multicast in KB


⚠️ 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.


Efficient source sharing of an underlying stream to multiple observers.


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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.