View Source Ontogen.Operation.Command behaviour (Ontogen v0.1.1)

Summary

Types

Callbacks

Link to this callback

call(operation, service)

View Source
@callback call(operation :: t(), service :: Ontogen.Service.t()) ::
  {:ok, Ontogen.Service.t(), any()}
  | {:ok, Ontogen.Service.t()}
  | {:error, any()}