Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WithCallbacksSubscription

A Subscription that allows cancellation callbacks.

Hierarchy

Implements

Index

Properties

Accessors

Methods

Properties

Private listeners

listeners: Set<Action> = new Set<Action>()

Protected state

state: boolean = false

Accessors

cancelled

  • get cancelled(): boolean

Methods

addListener

  • addListener(callback: Action): void

cancel

  • cancel(): void

removeListener

  • removeListener(callback: Action): void

Generated using TypeDoc