Skip to main content

Module shape

Module shape 

Source
Expand description

Structural facts about a graph, as bits in Topology::SHAPE — what the graph contains, decided at supervisor_graph! expansion and carried in the topology’s type, so lifecycle code serving an absent structure is

Constants§

ALL
All shape bits set.
BEATS
The graph declares at least one heartbeat (beat_timeout: or beat).
BOUND_DEPS
The graph contains at least one bound dependency.
CLAIMS
The graph declares at least one divisible resource.
EXEC_SLOTS
The graph declares at least one named executor slot.
OBSERVED
The graph declares at least one observed signal entry.
ON_DEMAND
The graph contains at least one OnDemand node or pool member.
PAUSE
The graph contains at least one Pause node or pool member.
POOLS
The graph declares at least one elastic pool.
READY_DEPS
The graph contains at least one ready dependency.
RESOURCES
The graph declares at least one resource slot.