@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>