cancel

abstract fun cancel(callback: WebcomDoneCallback? = null)

Cancels asynchronously this Subscription, meaning that the associated channel is released and will be no longer be notified.

The optional callback is called as soon as the cancelation of the subscription has been acknowledged by the Webcom back end.