ST.SBranch (st_parser v0.2.0)
View SourceRepresents 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
@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