class documentation
Class to manage multiple threads.
| Method | __init__ |
Initialize the thread manager. |
| Method | add |
Add a task to the manager. |
| Method | remove |
Stop and remove a queued task by ID. |
| Method | run |
Run tasks one-by-one, waiting for each to complete before starting the next. |
| Class Variable | __slots__ |
Undocumented |
| Property | is |
Return whether no task is queued or active. |
| Property | pending |
Return the number of queued tasks, excluding the active task. |
| Property | task |
Get the currently active task. |
| Property | thread |
Get the currently active thread. |
| Instance Variable | _active |
Undocumented |
| Instance Variable | _active |
Undocumented |
| Instance Variable | _id |
Undocumented |
| Instance Variable | _outgoing |
Undocumented |
| Instance Variable | _tasks |
Undocumented |