ST.SBranch (st_parser v0.4.1)

View Source

Represents a single branch in a choice or a single action sequence.

Each branch has a label, a payload type, and a continuation session type.

Summary

Types

t()

A branch containing

Types

t()

@type t() :: %ST.SBranch{
  continue_as: ST.t(),
  label: atom(),
  payload: ST.payload_type()
}

A branch containing:

  • label: The message label as a snake_case atom
  • payload: The payload type of the message
  • continue_as: The continuation session type after this branch