Skip to content

Documentation / listr2 / ListrTaskResult

Type Alias: ListrTaskResult<Ctx>

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

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

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

Type Parameters

Ctx

Ctx