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.

Defined in

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


STATE

STATE: "STATE"

State has changed for the current Task.

See

module:listr2.ListrTaskState

Defined in

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


ENABLED

ENABLED: "ENABLED"

The current Task has been marked as enabled.

Defined in

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


SUBTASK

SUBTASK: "SUBTASK"

The current Task is currently processing subtasks.

Defined in

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


PROMPT

PROMPT: "PROMPT"

The current Task is now processing a prompt.

Defined in

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


OUTPUT

OUTPUT: "OUTPUT"

The current Task is now dumping output.

Defined in

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


MESSAGE

MESSAGE: "MESSAGE"

The current Task is now dumping a message.

See

Defined in

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


CLOSED

CLOSED: "CLOSED"

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

Defined in

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