Subscription
interface Subscription
Content copied to clipboard
Represents a subscription to some event type.
Such a subscription can be made using:
on the DatasyncService, one of the DatasyncNode.subscribe, DatasyncNode.subscribeThroughPushNotification or DatasyncNode.subscribeThroughWebhook methods,
on the AuthenticationService, the AuthenticationService.subscribe method.
Functions
cancel
Link copied to clipboard
abstract fun cancel()
Content copied to clipboard
Cancels this Subscription, meaning that the associated callback is released and will be no longer called.