Skip to content

Documentation / listr2 / ListrTaskResult

Type Alias: ListrTaskResult<Ctx>

ListrTaskResult<Ctx>: string | Promise<any> | Listr<Ctx, ListrRendererValue, ListrRendererValue> | ReadableLike | ObservableLike<any>

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

Type Parameters

Ctx

Defined in

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