Share your code.
Deliver the most recently seen event to each new observer the instant it begins observing. A held stream is always multicast.
npm install --save @most/hold
// start holding on first subscriptionconst clickStream =// hold the latest event even before the first subscriptionclickStream;
hold :: Stream a → Stream a
Given an input stream:
observers which begin observing at different times will see:
observer1: -a---b---c---d-> observer2: a-b---c---d-> observer3: c--d->