@chinmaymk/aikit / mapStream
Function: mapStream()
mapStream<
T
,U
>(stream
,mapper
):AsyncGenerator
<U
>
Defined in: stream-utils.ts:218
Type Parameters
T
T
U
U
Parameters
stream
AsyncIterable
<T
>
mapper
(chunk
) => U
Returns
AsyncGenerator
<U
>