state_server
state_server copied to clipboard
half gen_statem, half gen_server
currently, timeout suppresses the continue event in `init/1`
for the following situations: `def handle_info(_, _), do: :noreply` or `def handle_cast(_, _), do: :noreply`
{:noreply, [timeout: {:do_connect, 200}, state_timeout: {:do_ping, 80}]}
** (EXIT from #PID) an exception was raised: ** (RuntimeError) attempted to call handle_continue/3 for StateServer #PID but no handle_continue/3 clause was provided (state_server) lib/state_server.ex:854: StateServer.handle_event/4 (stdlib) gen_statem.erl:1161: :gen_statem.loop_state_callback/11 (stdlib)...