Skip to content

Documentation / listr2 / ListrTaskResult

Type alias: ListrTaskResult<Ctx>

ListrTaskResult<Ctx>: string | Promise<any> | Listr<Ctx, ListrRendererValue, ListrRendererValue> | Readable | NodeJS.ReadableStream | Observable<any>

Result of the processed task can be any of the supported types.

Type parameters

Ctx

Source

packages/listr2/src/interfaces/task.interface.ts:76