LangEx.Command (LangEx v0.11.3)

Copy Markdown View Source

Combines a state update with a routing directive. Returned from node functions to both update state and control flow. The :resume field is used to resume interrupted graphs.

Summary

Types

t()

@type t() :: %LangEx.Command{
  goto: atom() | [atom()] | nil,
  resume: term(),
  update: map()
}