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
class BootstrapLifespanCommand(BootstrapCommand): (source)
Enable native application lifespan callbacks.
| Method | bootstrap |
Enable lifecycle callbacks. |
| Class Variable | description |
Create and register application lifespan callbacks.. |
| Class Variable | signature |
bootstrap:lifespan. |
Inherited from BootstrapCommand:
| Method | _execute |
Generate resources and invalidate existing compiled state if changed. |
| Method | _write |
Write one aligned resource action with a single colored status. |
| Async Method | handle |
Generate resources off the event loop and report the actual result. |
| Class Variable | _action |
Console styles assigned to bootstrap resource actions. |
| Class Variable | context |
Runtime context made available to the operation and its callbacks. |
| Class Variable | timestamps |
Timestamps flag used by BootstrapCommand. |
Enable lifecycle callbacks.
| Parameters | |
app:orionis.IApplication | Application providing the effective bootstrap path. |
| Returns | |
list[tuple[str, str]] | Completed resource actions. |