Backplane. AgentRuntime. ExecutionController
(backplane_agent_runtime v1.6.0)
Copy Markdown
One-run control owner that keeps store and backend work outside callbacks.
Cancellation can race a pending intent commit. Whichever transition commits first fences the other by revision; an intent acknowledgement observed after cancellation never restores dispatch authority.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
@spec await(GenServer.server(), timeout()) :: term()
@spec await_run_state(GenServer.server(), atom(), timeout()) :: map()
@spec cancel(GenServer.server(), non_neg_integer()) :: {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec settle_cleanup(GenServer.server(), non_neg_integer(), map()) :: {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}
@spec start_link(keyword()) :: GenServer.on_start()
@spec status(GenServer.server()) :: map()
@spec submit(GenServer.server(), map()) :: {:ok, map()} | {:error, Backplane.AgentRuntime.Error.t()}