SafeRPC.Adapter.Dispatcher (safe_rpc v0.1.0)

Copy Markdown View Source

Dispatches SafeRPC operations to explicit MFA route tables.

Summary

Types

route()

@type route() :: {module(), atom(), 3} | {module(), atom(), 4}

Functions

call(routes, op, payload, meta, state)

@spec call(%{optional(atom()) => route()}, atom(), term(), map(), term()) :: term()