THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Manage and execute a collection of background tasks sequentially.
This class holds an ordered list of BackgroundTask instances
and runs them one after another when invoked.
| Async Method | __call__ |
Execute all background tasks sequentially. |
| Method | __init__ |
Initialize BackgroundTasks with an optional sequence of tasks. |
| Method | add |
Add a new BackgroundTask to the task list. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | tasks |
Undocumented |
Inherited from BackgroundTask:
| Async Method | run |
Run the background task. |
| Instance Variable | __args |
Undocumented |
| Instance Variable | __func |
Undocumented |
| Instance Variable | __is |
Undocumented |
| Instance Variable | __kwargs |
Undocumented |
Initialize BackgroundTasks with an optional sequence of tasks.
| Parameters | |
tasks:Sequence[BackgroundTask] | None | Optional sequence of BackgroundTask instances to initialize with. |
| Returns | |
None | This method does not return a value. |