Skip to content

@chinmaymk/aikit v0.0.40


@chinmaymk/aikit / filterStream

Function: filterStream()

filterStream<T>(stream, predicate): AsyncGenerator<T>

Defined in: stream-utils.ts:207

Type Parameters

T

T

Parameters

stream

AsyncIterable<T>

predicate

(chunk) => boolean

Returns

AsyncGenerator<T>

Released under the MIT License.