View Source Jido.Runner behaviour (Jido v1.0.0-rc.3)

Behavior for executing planned actions on an Agent.

Summary

Types

action()

@type action() :: module() | {module(), map()}

Callbacks

run(agent, actions, opts)

@callback run(agent :: struct(), actions :: [action()], opts :: keyword()) ::
  {:ok, struct()} | {:error, any()}