Documentation / listr2 / ProcessOutputBuffer
Class: ProcessOutputBuffer
Constructors
new ProcessOutputBuffer()
new ProcessOutputBuffer(
options
?):ProcessOutputBuffer
Parameters
• options?: ProcessOutputBufferOptions
Returns
Defined in
packages/listr2/src/utils/process-output/process-output-buffer.ts:9
Accessors
all
get
all():ProcessOutputBufferEntry
[]
Returns
Defined in
packages/listr2/src/utils/process-output/process-output-buffer.ts:11
last
get
last():ProcessOutputBufferEntry
Returns
Defined in
packages/listr2/src/utils/process-output/process-output-buffer.ts:15
length
get
length():number
Returns
number
Defined in
packages/listr2/src/utils/process-output/process-output-buffer.ts:19
Methods
write()
write(
data
, ...args
):boolean
Parameters
• data: string
| Uint8Array
• ...args: [string?
, Function?
] | [Function?
]
Returns
boolean
Defined in
packages/listr2/src/utils/process-output/process-output-buffer.ts:23
reset()
reset():
void
Returns
void
Defined in
packages/listr2/src/utils/process-output/process-output-buffer.ts:43