ExUnited v0.1.3 ExUnited.Spawn.State View Source
Represents the state of an ExUnited.Spawn
instance. It stores:
:color_index
- a cycling index used for allocating the output color of the next node to be spawned with 'verbose mode' enabled:nodes
- a map containing information about its spawned nodes
Link to this section Summary
Link to this section Types
A struct that keeps information about a spawned node:
:node
- the node name of the spawned node:port
- thePort
reference after having spawned the node:color
- the ANSI color code portion used when in 'verbose mode'
Link to this type
t()
View Sourcet() :: %ExUnited.Spawn.State{ color_index: integer(), nodes: %{node: spawned_node()} }