ExActor.Responders
Helper macros that can be used for simpler responses from init/call/cast/info handlers.
Summary
| initial_state(state) | Can be used from |
| new_state(state) | Can be used from |
| noreply() | Can be used from |
| reply(response) | Can be used from |
| set_and_reply(new_state, response) | Can be used from |
Macros
Can be used from init or definit to return the initial state.
Can be used from handle_call, defcall, handle_info, or definfo to set the new state.
Can be used from handle_call, defcall, handle_info, or definfo to leave the state unchanged.
Can be used from handle_call or defcall to reply without changing the state