ORIONIS API REFERENCE

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 CatchProvider(ServiceProvider): (source)

View In Hierarchy

Undocumented

Async Method boot Boot the Catch service provider after registration.
Method register Register the Catch service as a singleton in the application container.
async def boot(self): (source)

Boot the Catch service provider after registration.

Parameters
self:CathcProviderInstance of the CathcProvider class.
Returns
NoneThis method does not return a value. It performs asynchronous initialization for the Catch service provider after all services have been registered.
def register(self): (source)

Register the Catch service as a singleton in the application container.

Notes

Binds the ICatch interface to the Catch implementation as a singleton, using a specific alias. Ensures only one instance of Catch is created and shared throughout the application's lifecycle.

Parameters
self:CathcProviderThe instance of the CathcProvider class.
Returns
NoneThis method does not return a value. It registers the Catch service as a singleton in the application container.