interface Deno.SubprocessReadableStream
extends ReadableStream<Uint8Array<ArrayBuffer>>
The interface for stdout and stderr streams for child process returned from
Deno.Command.spawn
.
Methods #
#arrayBuffer(): Promise<ArrayBuffer>
Reads the stream to completion. It returns a promise that resolves with
an ArrayBuffer
.
Reads the stream to completion. It returns a promise that resolves with
a Uint8Array
.
Reads the stream to completion. It returns a promise that resolves with the result of parsing the body text as JSON.