Skip to main content

package @rimbu/stream

The @rimbu/stream package provides the Stream and AsyncStream implementations and many related utilities.

See the Rimbu docs Stream page for more information.

This package also exports everything from the the following sub-packages:

Interfaces

NameDescription
AsyncFastIterable<T>An interface that extends the standard AsyncIterable interface to return an AsyncFastIterator instead of a normal AsyncIterator.
AsyncFastIterator<T>An asynchronous iterator that extends the default AsyncIterator interface with methods for improved performance.
AsyncStream<T>A possibly infinite asynchronous sequence of elements of type T. See the Stream documentation and the AsyncStream API documentation
AsyncStreamable<T>An object that can create an AsyncStream of elements of type T.
FastIterable<T>An interface that extends the standard Iterable interface to return a FastIterator instead of a normal Iterator.
FastIterator<T>An iterator that extends the default Iterator interface with methods that give more performance.
Stream<T>A possibly infinite sequence of elements of type T. See the Stream documentation and the Stream API documentation
Streamable<T>An object that can create a Stream of elements of type T.

Namespaces

NameDescription
AsyncReducerAn AsyncReducer is a stand-alone asynchronous calculation that takes input values of type I, and, when requested, produces an output value of type O.
AsyncStreamA possibly infinite asynchronous sequence of elements of type T. See the Stream documentation and the AsyncStream API documentation
AsyncStreamableAn object that can create an AsyncStream of elements of type T.
AsyncStreamSourceAny source that can be converted to an AsyncStream. This includes async streams, sync streams, async iterables, and lazy factories.
AsyncTransformerAn AsyncReducer that produces instances of AsyncStreamSource.
ReducerA Reducer is a stand-alone calculation that takes input values of type I, and, when requested, produces an output value of type O.
StreamA possibly infinite sequence of elements of type T. See the Stream documentation and the Stream API documentation
StreamableAn object that can create a Stream of elements of type T.
StreamSourceAny object that is Iterable, a Stream, or can produce a Stream.
TransformerA Reducer that produces instances of StreamSource.