Queue

class

gworker_client.resources.Queue

Distributed queue reference. Messages are bytes; producers and consumers can be different tasks or external services. Backed by a persistent, tenant-scoped queue. Good for async fan-out and work queues.

Class

python
1class Queue

Methods

from_name

python
1from_name(name: str, create: bool = True) -> Queue

Reference a queue by name. If create=True (default), the queue is created on first deploy if it does not exist. Set create=False to raise NotFoundError instead.

← Back to docs