Class Emitter<T>

Type Parameters

  • T = any

Hierarchy (view full)

Constructors

Properties

_callbacks: undefined | CallbackList
_disposed: boolean = false
_event: Event<T>
_leakWarnCountdown: number = 0
_leakingStacks: undefined | Map<string, number>
_options?: EmitterOptions
LEAK_WARNING_THRESHHOLD: number = 175
_noop: (() => void) = ...

Type declaration

    • (): void
    • Returns void

Accessors

Methods

  • Process each listener one by one. Return false to stop iterating over the listeners, true to continue.

    Parameters

    Returns Promise<void>