View Source Kvasir.Agent.Registry behaviour (kvasir_agent v0.0.18)
Link to this section Summary
Link to this section Callbacks
@callback start_child( agent :: module(), partition :: non_neg_integer(), id :: term() ) :: {:ok, pid()} | {:error, atom()}
@callback start_child( agent :: module(), partition :: non_neg_integer(), id :: term(), offset :: Kvasir.Offset.t(), state :: term(), cache :: term() ) :: {:ok, pid()} | {:error, atom()}