Skip to content

Documentation / listr2 / ListrTaskRetry

Interface: ListrTaskRetry ​

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

Tasks can retry themselves when defined.

  • This holds the value of the current error and the current retry attempt.

Properties ​

count ​

count: number

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


error? ​

optional error?: Error

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