Majsoul.Client behaviour (Soulless v0.2.0)

View Source

Summary

Callbacks

handle_notice(message, state)

@callback handle_notice(message :: term(), state :: term()) ::
  {:noreply, new_state :: term()}

handle_ready(state)

@callback handle_ready(state :: term()) :: {:noreply, new_state :: term()}

handle_response(message, state)

@callback handle_response(message :: term(), state :: term()) ::
  {:noreply, new_state :: term()}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

fetch(rpc)

handle_notice(message, state)

handle_ready(state)

handle_response(message, state)

send(rpc)

start_link(opts \\ [])