Skip to content

LiveHandle

LiveHandle = object

Handle returned by live subscription helpers. The stream reconnects on its own (the server ends each stream when its ticket expires, so access is re-decided on every reconnect).

close: () => void

void


closed: Promise<LiveWatchResult>

Resolves once the handle is closed or its signal aborts; rejects when the loop stops on an error it does not retry: a refused reconnect (NOT_FOUND, UNAUTHENTICATED, FORBIDDEN, …) or a throw from your callback.