Skip to content

Documentation / listr2 / ProcessOutputStream

Class: ProcessOutputStream

Constructors

new ProcessOutputStream()

new ProcessOutputStream(stream): ProcessOutputStream

Parameters

stream: WriteStream

Returns

ProcessOutputStream

Defined in

packages/listr2/src/utils/process-output/process-output-stream.ts:10

Accessors

out

get out(): WriteStream

Returns

WriteStream

Defined in

packages/listr2/src/utils/process-output/process-output-stream.ts:15

Methods

hijack()

hijack(): void

Returns

void

Defined in

packages/listr2/src/utils/process-output/process-output-stream.ts:21


release()

release(): ProcessOutputBufferEntry[]

Returns

ProcessOutputBufferEntry[]

Defined in

packages/listr2/src/utils/process-output/process-output-stream.ts:25


write()

write(...args): boolean

Parameters

• ...args: [string | Uint8Array, BufferEncoding, (err?) => void]

Returns

boolean

Defined in

packages/listr2/src/utils/process-output/process-output-stream.ts:35