Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / AsyncIteratorYieldResult

Type Alias: AsyncIteratorYieldResult<T>

AsyncIteratorYieldResult<T> = { value: T; done?: false; dropped?: never; } | { value: T; done?: false; dropped: true; }

Defined in: projects/libraries/streamix/src/lib/utils/iterator.ts:21

Extended iterator result that carries an optional dropped flag. When dropped: true, the emission was suppressed by a filter operator but the iterator still yields to allow backpressure signalling and introspection without terminating the stream.

Type Parameters

T

T

Released under the GNU AGPL v3 or later.