Skip to content

Documentation / listr2 / ListrTaskEventType

Enumeration: ListrTaskEventType

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:6

Internal events that are fired from the Task.

See

https://listr2.kilic.dev/task/events.html

Enumeration Members

TITLE

TITLE: "TITLE"

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:8

Title has changed for the current Task.


STATE

STATE: "STATE"

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:14

State has changed for the current Task.

See

module:listr2.ListrTaskState


ENABLED

ENABLED: "ENABLED"

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:16

The current Task has been marked as enabled.


SUBTASK

SUBTASK: "SUBTASK"

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:18

The current Task is currently processing subtasks.


PROMPT

PROMPT: "PROMPT"

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:20

The current Task is now processing a prompt.


OUTPUT

OUTPUT: "OUTPUT"

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:22

The current Task is now dumping output.


MESSAGE

MESSAGE: "MESSAGE"

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:28

The current Task is now dumping a message.

See


CLOSED

CLOSED: "CLOSED"

Defined in: packages/listr2/src/constants/listr-task-events.constants.ts:30

The current Task is closed and no further action in expected.