Function-backed Cairn servers.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type fun() :: (Cairn.Message.payload() -> term())
@type state() :: %{fun: fun()}
Functions
@spec child_spec(term()) :: Supervisor.child_spec()
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(term(), GenServer.options()) :: GenServer.on_start()