Skip to content

Documentation / listr2 / ReadableLike

Interface: ReadableLike

Properties

readable

readable: boolean

Source

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


read()

read: (size?) => string | Buffer

Parameters

size?: number

Returns

string | Buffer

Source

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


on()

on: (eventName, listener) => unknown

Parameters

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

listener

Returns

unknown

Source

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