ex_state v0.3.0 ExState.Definition.Transition View Source

Link to this section Summary

Link to this section Types

Link to this type

event()

View Source
event() :: atom() | {:completed, atom()} | {:decision, atom(), atom()}
Link to this type

t()

View Source
t() :: %ExState.Definition.Transition{
  actions: [atom()],
  event: event(),
  reset: boolean(),
  target: String.t() | [String.t()]
}

Link to this section Functions

Link to this function

new(event, target, opts \\ [])

View Source