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).
Properties
Section titled “Properties”close: () =>
void
Returns
Section titled “Returns”void
closed
Section titled “closed”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.