Flexflow.Process behaviour (flexflow v0.1.6) View Source
Process
Link to this section Summary
Callbacks
Invoked when process is started, after events and transitions init, see Flexflow.Api.init/1
Module name
Link to this section Types
Specs
Specs
Specs
Specs
Specs
identity() :: {:event | :transition, Flexflow.key_normalize()}
Specs
Init result
Specs
Specs
state()
Process state
[:created, :active, :loop, :waiting, :paused]
Specs
t() :: %Flexflow.Process{
__args__: Flexflow.process_args(),
__context__: Flexflow.Context.t(),
__counter__: integer(),
__graphviz__: keyword(),
__histories__: [Flexflow.History.t()],
__identities__: [identity()],
__loop_counter__: integer(),
__opts__: keyword(),
__tasks__: %{required(reference()) => term()},
events: Flexflow.events(),
id: Flexflow.id() | nil,
module: module(),
name: Flexflow.name() | nil,
state: state(),
transitions: Flexflow.transitions()
}
Link to this section Functions
Specs
Specs
handle_call(t(), term(), GenServer.from() | nil) :: handle_call_return()
Specs
handle_cast(t(), term()) :: handle_cast_return()
Specs
handle_continue(t(), term()) :: handle_continue_return()
Specs
handle_info(t(), term()) :: handle_info_return()
Specs
Specs
Specs
new(module(), Flexflow.id(), Flexflow.process_args()) :: result()
Specs
Specs
start(module(), Flexflow.id(), Flexflow.process_args()) :: server_return()
Specs
Link to this section Callbacks
Specs
handle_call(t(), term(), GenServer.from()) :: handle_call_return()
Specs
handle_cast(t(), term()) :: handle_cast_return()
Specs
handle_continue(t(), term()) :: handle_continue_return()
Specs
handle_info(t(), term()) :: handle_info_return()
Specs
Invoked when process is started, after events and transitions init, see Flexflow.Api.init/1
Specs
name() :: Flexflow.name()
Module name