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.
module documentation
Provide foundation lifespan operations.
Includes before_shutdown_orionis_generator, after_shutdown_orionis_generator, shutdown_orionis_generator.
| Function | after |
Render the server uptime summary panel after a successful shutdown. |
| Function | before |
Render a brief shutdown panel before the server stops accepting requests. |
| Function | shutdown |
Yield control between the pre- and post-shutdown display steps. |
| Constant | _BEFORE |
Pre-built static panel displayed while the server is stopping. |
| Variable | _console |
Shared terminal output interface reused across all shutdown display functions. |
Render a brief shutdown panel before the server stops accepting requests.
| Returns | |
None | Leave the shutdown panel visible while lifecycle hooks execute. |
Yield control between the pre- and post-shutdown display steps.
| Parameters | |
app:orionis.IApplication | Application instance used to read mode flags and the startup timestamp. |
| Returns | |
collections.abc.Generator[None] | Yields once; pre-shutdown runs before the yield, post-shutdown after. |