Subscription

interface Subscription

Represents a subscription to some event type.

Such a subscription can be made using:

Functions

cancel
Link copied to clipboard
abstract fun cancel()

Cancels this Subscription, meaning that the associated callback is released and will be no longer called.