cyclejs-stream
Observable (events stream) to which you can inject another streams.
Utility for Cycle.js framework.
Usage
;; let sum$ = ; sum$; // you can inject dependencies before and after subscriptionsum$; ; // you can also inject stream to itselflet double$ = ; double$; double$;
Notes
Subscription and injection order doesn't matter, but if nothing was injected to the stream, subscription doesn't initialize anything. When dependencies are injected, but stream was not subscribed yet, nothing happens as well. When subscribed AND injected the first time, stream becomes hot observable - next subscriptions don't receive already emitted values.