Provides an outage-safe boundary around operator recording control.
Summary
Functions
Pauses recording through the authoritative control process.
Resumes recording through the authoritative control process.
Returns authoritative recording control state when available.
Subscribes the caller to authoritative recording-state transitions.
Types
@type call_error() :: {:error, :timeout | :unavailable}
@type server() :: GenServer.server() | nil
Functions
@spec pause(server(), timeout()) :: {:ok, BeamConsole.Recording.Status.t()} | call_error()
Pauses recording through the authoritative control process.
@spec resume(server(), timeout()) :: {:ok, BeamConsole.Recording.Status.t()} | call_error()
Resumes recording through the authoritative control process.
@spec status(server(), timeout()) :: {:ok, BeamConsole.Recording.Status.t()} | call_error()
Returns authoritative recording control state when available.
@spec subscribe(server(), timeout()) :: {:ok, BeamConsole.Recording.Status.t()} | call_error()
Subscribes the caller to authoritative recording-state transitions.