View Source Fountainedge.Token (Fountainedge Workflow Engine v1.0.8)

Tokens track parallel progression from a fork to a join.

They belong to a Fountainedge.State.

Link to this section Summary

Types

t()

Token structure.

Link to this section Types

@type t() :: %Fountainedge.Token{id: integer(), token: integer()}

Token structure.

  • :id - Identifier of the Fountainedge.Node from where the fork originated (type :fork.)
  • :token - Identifier of the Fountainedge.Node where the out edge points to. Thereby, this is unique; one token is created per each out edge from the fork.