RequestCoordinatorState
Defined in: packages/client/src/lib/orchestrator/request-coordinator.ts:16
Observable state for the request stream and latest successful response.
Properties
Section titled “Properties”isProcessing
Section titled “isProcessing”isProcessing:
boolean
Defined in: packages/client/src/lib/orchestrator/request-coordinator.ts:22
Set at each RequestCoordinator.send start and cleared when that call settles. Callers must not overlap sends because this flag is not reference-counted.
lastResponse
Section titled “lastResponse”lastResponse:
MaelstromResponse|null
Defined in: packages/client/src/lib/orchestrator/request-coordinator.ts:24
Most recently completed successful response; failures retain the prior value.