ReadonlyappThe application the connection belongs to.
ReadonlyclosedAborts when the connection disconnects. Drop per-client state here.
ReadonlymoduleThe federation module id of the connection. Equals appId when the host supplied none.
Writes a state value to this connection only. Ignored once the connection has closed.
Rejects a state topic for this connection: its pending and later MessageBus.query
calls reject with a MessageBusError whose code is 'REFUSED', until the host next
writes a value with MessageBusClient.emit, which clears the rejection.
Optionalmessage: stringOptionaldetails: MessageBusErrorDetailsA rejected promise cannot be un-rejected and an errored subject cannot resume, so the
rejection is tracked per connection alongside the topic's subject rather than by erroring
it: query consults it before awaiting, and MessageBus.subscribe and the topic's
MessageBusStateSource stay silent (they never error) until a value is written.
Ignored once the connection has closed, the same as MessageBusClient.emit.
details reach the rejected queries as the error's fix and docsUrl, when the
application's copy of the SDK knows them; an older one gets the message only.
The host's handle to one connection: who it is, when it closes, and where to write its state.