interface ViewControllerState<TClient extends ViewClient> One consistent reading of a ViewController. A new object is published for every change.
Properties
client
readonly client: TClient | undefined; The connected or observed client, or undefined until it connects.
state
readonly state: TClient["snapshot"] | undefined; The latest state, or undefined until the client connects.
error
readonly error: unknown; The connection failure, if any.
pending
readonly pending: boolean; True while a connector is connecting.