Task Module

Classes

AtomicTask

A Task with no subtasks.

Initialize the TaskBase.

CompoundTask

A Task of Tasks.

Contains shared logic that drives all of its sub-classes. Should never be instantiated on its own.

Instantiate CompoundTask attributes.

RetryAbleTask

A Task representing with_retry scenarios.

It inherits from WhenAllTask because retryable scenarios are Tasks with equivalent to WhenAll Tasks with dynamically increasing lists of children. At every failure, we add a Timer child and a Task child to the list of pending tasks.

TaskBase

The base class of all Tasks.

Contains shared logic that drives all of its sub-classes. Should never be instantiated on its own.

Initialize the TaskBase.

TimerTask

A Timer Task.

WhenAllTask

A Task representing when_all scenarios.

Initialize a WhenAllTask.

WhenAnyTask

A Task representing when_any scenarios.

Initialize a WhenAnyTask.

Enums

TaskState

The possible states that a Task can be in.