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 QueueWorkCommand(BaseCommand): (source)
Run an asynchronous worker over prioritized logical queues.
| Async Method | handle |
Consume jobs until shutdown or a requested stopping condition. |
| Class Variable | __slots__ |
Declare that this class introduces no additional instance slots. |
| Class Variable | arguments |
Command-line argument declarations accepted by this command. |
| Class Variable | description |
Consume queued jobs with retries and graceful shutdown.. |
| Class Variable | signature |
queue:work. |
| Class Variable | timestamps |
Timestamps flag used by QueueWorkCommand. |
Consume jobs until shutdown or a requested stopping condition.
| Parameters | |
manager:orionis.queues.contracts.manager.IQueueManager | Queue manager resolved from the current application container. |
| Returns | |
int | Zero after a clean stop or one for invalid queue settings. |