Skip to content

Documentation / listr2 / ListrTaskEventType

Enumeration: ListrTaskEventType

Internal events that are fired from the Task.

See

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

Enumeration Members

TITLE

TITLE: "TITLE"

Title has changed for the current Task.

Source

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


STATE

STATE: "STATE"

State has changed for the current Task.

See

module:listr2.ListrTaskState

Source

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


ENABLED

ENABLED: "ENABLED"

The current Task has been marked as enabled.

Source

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


SUBTASK

SUBTASK: "SUBTASK"

The current Task is currently processing subtasks.

Source

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


PROMPT

PROMPT: "PROMPT"

The current Task is now processing a prompt.

Source

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


OUTPUT

OUTPUT: "OUTPUT"

The current Task is now dumping output.

Source

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


MESSAGE

MESSAGE: "MESSAGE"

The current Task is now dumping a message.

See

Source

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


CLOSED

CLOSED: "CLOSED"

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

Source

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