Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CallbackList

Hierarchy

  • CallbackList

Implements

Index

Properties

Private _callbacks

_callbacks: Function[] | undefined

Private _contexts

_contexts: any[] | undefined

Accessors

length

  • get length(): number

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<(Anonymous function)>

add

  • add(callback: Function, context?: any, bucket?: Disposable[]): void

dispose

  • dispose(): void

invoke

  • invoke(...args: any[]): any[]

isEmpty

  • isEmpty(): boolean

remove

  • remove(callback: Function, context?: any): void