interface ViewHandle<TClient extends ViewClient> No documentation.
Properties
state
readonly state: TClient["snapshot"] | undefined; The latest state, or undefined until the client connects.
client
readonly client: TClient | undefined; The connected client for commands, or undefined until it connects.
error
readonly error: unknown; The connection failure, if any.
pending
readonly pending: boolean; True while a reference is connecting.
Methods
retry
retry(): void; Connects a reference again after a failure.