Subscription

Represents a reference to a subscription made with $watch or similar.

id

Type: readonly string

constructor()

argument
type

id

string

destroy

() => void

destroy()

Cancel the subscription.

Returns: void

onClose()

Function, that gets executed, when the subscription gets destroyed.

Returns: void

Last updated