The provider's own authentication of a report: a platform's signature scheme, or the worker's per-run token against the run's dispatch record.
Turns a verified report into the channel's events, each with a stable id; throws on a report it cannot read. When the report was verified against a run, its caller applies only the events that name that run: a worker's per-run token speaks for its own run alone.
Tells a join url's platform, or why it is refused.
Hands the run to a worker with the room and the tokens minted for it; rejects when the run cannot start.
Sends a command to the run's bot. A provider passes on no audio of a run
before the run's first startCapture, and none after a suspendCapture
until the next startCapture: the manager sends startCapture only once
the run's notice is confirmed posted and its stop monitor is healthy.
Each run asked for (every run the provider knows when runIds is absent), alive or not, with the seconds it has counted.
Optional runStatic hashReadonly nameThe name the manager registers the provider under; runs and reports carry it.
Readonly platformsThe platforms the provider joins.
Readonly capabilitiesWhat the provider declares about itself; the notice and the stop path follow from it.
Readonly dispatchedEach run's dispatch input, by run id.
Readonly commandsEach run's commands, in the order they were sent.
Readonly deletedThe run ids deleteRun was called with, in order.
What usage() answers; tests set it.
When set, dispatch rejects with it (a worker with no slot).
When set, usage() rejects with it: a scheduler that cannot be reached.
When set, command() records the command and then rejects with it.
Runs inside dispatch, before it records anything: a test puts a race here (a cancel while the dispatch is in flight).
A provider for tests: it records dispatches and commands, and its reports are driven by the test through mockEventContext.