Skip to content

Documentation / listr2 / ReadableLike

Interface: ReadableLike

Properties

readable

readable: boolean

Defined in

packages/listr2/src/interfaces/data.interface.ts:12


read()

read: (size?) => string | Buffer

Parameters

size?: number

Returns

string | Buffer

Defined in

packages/listr2/src/interfaces/data.interface.ts:13


on()

on: (eventName, listener) => unknown

Parameters

eventName: "data" | "error" | "end"

listener

Returns

unknown

Defined in

packages/listr2/src/interfaces/data.interface.ts:14