deno.com

function text

#text(stream:
WebReadableStream
| ReadableStream
| AsyncIterable<any>
): Promise<string>

Parameters #

#stream:
WebReadableStream
| ReadableStream
| AsyncIterable<any>

Return Type #

Promise<string>

Fulfills with the contents of the stream parsed as a UTF-8 encoded string.