Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/stack/EventEmitter"

Index

Type aliases

StackEventEmitterCallbacks

StackEventEmitterCallbacks: OnChange | OnPush | OnPop | OnReset | OnReplace

StackEventEmitterCatch

StackEventEmitterCatch: function

Type declaration

    • (event: Event, error: Error): void
    • Parameters

      • event: Event
      • error: Error

      Returns void

Variables

Const symbolChange

symbolChange: unique symbol = Symbol(`StackEventEmitter#${Event.Change}`)

Const symbolMaxListeners

symbolMaxListeners: unique symbol = Symbol('StackEventEmitter#maxListeners')

Const symbolPop

symbolPop: unique symbol = Symbol(`StackEventEmitter#${Event.Pop}`)

Const symbolPush

symbolPush: unique symbol = Symbol(`StackEventEmitter#${Event.Push}`)

Const symbolReplace

symbolReplace: unique symbol = Symbol(`StackEventEmitter#${Event.Replace}`)

Const symbolReset

symbolReset: unique symbol = Symbol(`StackEventEmitter#${Event.Reset}`)

Functions

Const defaultCatch

  • defaultCatch(event: Event, error: Error): void

remove

  • remove<T>(event: Event, array: Array<T>, callback: T): void