Flexflow.Gateway behaviour (flexflow v0.1.8) View Source
Gateway
Link to this section Summary
Link to this section Types
Specs
key() :: Flexflow.identity_or_module() | String.t()
Specs
options() :: Keyword.t()
Specs
state() :: :initial | :created
Specs
t() :: %Flexflow.Gateway{
__context__: Flexflow.Context.t(),
__graphviz__: Keyword.t(),
__opts__: options(),
from: Flexflow.identity(),
module: module(),
name: Flexflow.name(),
state: state(),
to: Flexflow.identity()
}
Link to this section Functions
Specs
dispatch(
{Flexflow.Event.t(), t(), Flexflow.Event.t()},
Flexflow.Process.result()
) :: Flexflow.Process.result()
Specs
init(Flexflow.Process.t()) :: Flexflow.Process.t() | {:error, term()}
Specs
key(t()) :: Flexflow.identity()
Specs
Specs
Link to this section Callbacks
Specs
name() :: Flexflow.name()
Module name