EphemeralTaskList
class EphemeralTaskList
In-memory task list with a small state machine. Safe to share across coroutines — every public method takes a Mutex internally.
Mirrors the Python reference EphemeralTaskList.
Functions
Link copied to clipboard
Append a new pending task at the tail.
Link copied to clipboard
Transition the task from TaskStatus.InProgress to TaskStatus.Completed.
Link copied to clipboard
Insert a new pending task immediately after existingTaskId.
Link copied to clipboard
Snapshot of every task, in current order.
Link copied to clipboard
Prepend a new pending task at the head.
Link copied to clipboard
Transition the task from TaskStatus.Pending to TaskStatus.InProgress.