Stone v0.1.0 Stone.Responders
Various macros useful for returning simpler responses from init/call/cast/info handlers.
Summary
Macros
Set initial state of the actor.
Should be used in definit
/defstart
Set initial state of the actor and timeout for initialization.
Should be used in definit
/defstart
.
Allows for setting a timeout
Macros
Set initial state of the actor.
Should be used in definit
/defstart
.
Examples
iex> Stone.Responders.initial_state(1)
{:ok, 1}