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