View Source Protean.Macros (Protean v0.0.1)
Injects code into the calling module in order to easily define Protean statecharts.
This module is included by calling use Protean
and requires that the caller define a machine
configuration using defmachine/1
:
defmodule Example do
use Protean
defmachine [
# ...
]
end
Link to this section Summary
Functions
Define a Protean machine accessible through __MODULE__.machine/0
.
Link to this section Functions
Define a Protean machine accessible through __MODULE__.machine/0
.