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.

module documentation

Install temporary worker shutdown handlers on the main thread.

Class WorkerSignals Install temporary worker shutdown handlers on the main thread.
Function _stop_worker Request graceful draining after a process termination signal.
def _stop_worker(worker: IWorker, _signal: int, _frame: FrameType | None): (source)

Request graceful draining after a process termination signal.

Parameters
worker:orionis.queues.contracts.worker.IWorkerActive worker that should stop reserving jobs.
_signal:intDelivered process signal.
_frame:types.FrameType | NoneInterrupted interpreter frame.
Returns
NoneComplete the documented operation without returning a value.