Class LocalCluster

Represents a local deployed HyperQueue infrastructure.

Declaration

class LocalCluster
source link

Documentation

You can use LocalCluster to quickly spin up a HyperQueue server along with a set of workers locally.

The cluster can be used as a context manager. It will be stopped when the context ends:

with LocalCluster() as cluster:
    client = cluster.client()
    ...
# The cluster was stopped

Methods

Reexports