A class extending from StreamObjectBase that wraps any Stream
Stream that emits each value from the array or until cancelled
checks that T is a Stream
debounce skips all items which are succeeded by another within the duration. Effectively it only emits items after a duration of silence
Stream that emit the same value until cancelled
Stream that emits from start..end or until cancelled
Forwards the latest value from the base stream every time the trigger stream produces a value. If the base stream hasn't produces a (new) value the trigger is ignored
Applies an accumulator to each value from the source
A SharedStream is used for broadcasting values to zero or more receivers. Receivers can be added and removed at any time. The stream itself never completes, so receivers should themselves terminate their connection.
slides a window over a stream, emitting all items in the window as an array. The array is reused so you must duplicate if you want to access it beyond the stream.
takes the first n values from a stream or until cancelled
throttleFirst forwards one item and then enters a cooldown period during which it ignores items
throttleLast starts a cooldown period when it receives an item, after which it forwards the lastest value from the cooldown period
toList collects all the stream's values and emits the array as a Sender
Converts any Stream to a polymorphic StreamObject
A polymorphic stream with elements of type T
A Stream is anything that has a .collect function that accepts a callable and returns a Sender. Once the Sender is connected and started the Stream will call the callable zero or more times before one of the three terminal functions of the Receiver is called.
Helper to construct a Stream, useful if the Stream you are modeling has a blocking loop