Documentation / @super-line/client / Subscription
Interface: Subscription
Defined in: index.ts:61
A topic subscription handle returned by client.subscribe.
Properties
ready
readonlyready:Promise<void>
Defined in: index.ts:63
Resolves when the server acknowledges the subscribe; rejects if denied or disconnected.
Methods
unsubscribe()
unsubscribe():
void
Defined in: index.ts:65
Stop receiving the topic and tell the server to unsubscribe.
Returns
void