jhn_elixir v0.1.3 JhnElixir.GenStatem behaviour
Link to this section Summary
Link to this section Types
Link to this type
action()
action() :: :postpone | {:postpone, boolean()} | {:next_event, event_type(), term()} | :hibernate | {:hibernate, boolean()} | timeout_action() | reply_action()
Link to this type
event_type()
event_type() :: external_event_type() | timeout_event_type() | :internal
Link to this type
on_start()
Link to this type
option()
Link to this type
timeout_event_type()
timeout_event_type() :: :timeout | {:timeout, term()} | :state_timeout
Link to this section Functions
Link to this function
call(server, request, timeout \\ 5000)
Link to this function
start(module, init_arg, options \\ [])
Link to this function
stop(server, reason \\ :normal, timeout \\ :infinity)
Link to this section Callbacks
Link to this callback
callback_mode()
callback_mode() :: callback_mode() | [callback_mode() | :state_enter]
Link to this callback
code_change(old_vsn, state, extra)
Link to this callback
format_status(reason, pdict_and_state)
Link to this callback
init(init_arg)
Link to this callback