youtubei.js / Utils / streamToIterable
Function: streamToIterable()
streamToIterable(
stream
):AsyncGenerator
<Uint8Array
,void
,unknown
>
Parameters
• stream: ReadableStream
<Uint8Array
>
Returns
AsyncGenerator
<Uint8Array
, void
, unknown
>