Boring.Util.GenTypes (boring v0.0.1) View Source

common typespecs for our custom genserver events (genserver + :unhandled).

Link to this section Summary

Link to this section Types

Specs

return_type() :: :reply | :noreply | :hibernate | :stop | :unhandled

Specs

return_value() ::
  {:reply, response :: any(), state()}
  | {:noreply, state()}
  | {:hibernate, state()}
  | {:stop, reason :: any(), state()}
  | {:unhandled, state()}

Specs

source() :: {pid :: pid(), tag :: term()}

Specs

state() :: any()