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 BaseTaskListener(Console, IBaseTaskListener): (source)

View In Hierarchy

Undocumented

Async Method onTaskAdded Handle the event when a task is added.
Async Method onTaskError Handle the event when a task encounters an error.
Async Method onTaskExecuted Handle the event when a task is executed.
Async Method onTaskMaxInstances Handle the event when a task reaches its maximum allowed instances.
Async Method onTaskMissed Handle the event when a task is missed.
Async Method onTaskRemoved Handle the event when a task is removed.
Async Method onTaskSubmitted Handle the event when a task is submitted.
async def onTaskAdded(self, event: TaskEvent): (source)

Handle the event when a task is added.

Parameters
event:TaskEventThe event object containing information about the added task.
Returns
NoneThis method does not return a value.
async def onTaskError(self, event: TaskEvent): (source)

Handle the event when a task encounters an error.

Parameters
event:TaskEventThe event object containing information about the task error.
Returns
NoneThis method does not return a value.
async def onTaskExecuted(self, event: TaskEvent): (source)

Handle the event when a task is executed.

Parameters
event:TaskEventThe event object containing information about the executed task.
Returns
NoneThis method does not return a value.
async def onTaskMaxInstances(self, event: TaskEvent): (source)

Handle the event when a task reaches its maximum allowed instances.

Parameters
event:TaskEventThe event object containing information about the max instances event.
Returns
NoneThis method does not return a value.
async def onTaskMissed(self, event: TaskEvent): (source)

Handle the event when a task is missed.

Parameters
event:TaskEventThe event object containing information about the missed task.
Returns
NoneThis method does not return a value.
async def onTaskRemoved(self, event: TaskEvent): (source)

Handle the event when a task is removed.

Parameters
event:TaskEventThe event object containing information about the removed task.
Returns
NoneThis method does not return a value.
async def onTaskSubmitted(self, event: TaskEvent): (source)

Handle the event when a task is submitted.

Parameters
event:TaskEventThe event object containing information about the submitted task.
Returns
NoneThis method does not return a value.