XFsm (xfsm v0.2.0)

View Source

Documentation for XFsm.

Summary

Types

action_arg()

@type action_arg() :: %{
  optional(:event) => event(),
  actor: nil | pid(),
  context: context()
}

callback()

@type callback() ::
  (... -> any()) | atom() | %{:method => atom(), optional(:params) => any()}

context()

@type context() :: nil | map()

event()

@type event() :: %{:type => atom(), optional(atom()) => any()}