What fromLive needs from a pond live source: enough to
materialize a snapshot, and a way to hear that one is due.
Looser than core's LiveSource<S> in exactly one place — the
'event' listener's parameter is any, because this package never
reads the event, it only needs the notification. It was introduced
when LiveAggregation.on('event', …) handed back a widened event and
so did not satisfy LiveSource<Out>; core has since narrowed that
listener ([PND-LIVESRC]), so the aggregation operators now satisfy
LiveSource<Out> too.
LiveSeries, LiveView, LiveAggregation, LiveRollingAggregation,
and LiveFusedRolling all match this.
What fromLive needs from a pond live source: enough to materialize a snapshot, and a way to hear that one is due.
Looser than core's
LiveSource<S>in exactly one place — the'event'listener's parameter isany, because this package never reads the event, it only needs the notification. It was introduced whenLiveAggregation.on('event', …)handed back a widened event and so did not satisfyLiveSource<Out>; core has since narrowed that listener ([PND-LIVESRC]), so the aggregation operators now satisfyLiveSource<Out>too.LiveSeries,LiveView,LiveAggregation,LiveRollingAggregation, andLiveFusedRollingall match this.