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

Constructor: ReactorProvider(app)

View In Hierarchy

Register reactor services in the application container.

Async Method boot Perform post-registration bootstrapping for the reactor provider.
Method register Register the reactor management service in the application container.

Inherited from ServiceProvider:

Method __init__ Initialize a new ServiceProvider instance with the given application container.
Instance Variable app The application container instance to which this service provider will be attached.
async def boot(self): (source)

Perform post-registration bootstrapping for the reactor provider.

This asynchronous method is called after all service providers have been registered. For ReactorProvider, it initializes the Reactor. No additional setup is required at this time.

Returns
NoneThis method does not return a value.
def register(self): (source)

Register the reactor management service in the application container.

Bind the IReactor interface as a singleton to the Reactor implementation in the application's dependency injection container.

Returns
NoneNo return value. Service is registered in the container.