Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/terminal > StringBufferTerminalProvider > getAllOutputAsChunks

StringBufferTerminalProvider.getAllOutputAsChunks() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Get everything that has been written as an array of output chunks, preserving order.

Signature:

getAllOutputAsChunks(options?: IStringBufferOutputChunksOptions & {
asLines?: false;
}): IOutputChunk[];

Parameters

Parameter

Type

Description

options

IStringBufferOutputChunksOptions & { asLines?: false; }

(Optional)

Returns:

IOutputChunk[]