Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Methods

  • emit(name: string, ...args: unknown[]): void
  • on(...arg: [event: string | symbol, fn: (...args: any[]) => void, context?: any]): EventEmitter<string | symbol, any>
  • Parameters

    • Rest ...arg: [event: string | symbol, fn: (...args: any[]) => void, context?: any]

    Returns EventEmitter<string | symbol, any>

  • once(...arg: [event: string | symbol, fn: (...args: any[]) => void, context?: any]): EventEmitter<string | symbol, any>
  • Parameters

    • Rest ...arg: [event: string | symbol, fn: (...args: any[]) => void, context?: any]

    Returns EventEmitter<string | symbol, any>

  • off(...arg: [event: string | symbol, fn?: (...args: any[]) => void, context?: any, once?: boolean]): EventEmitter<string | symbol, any>
  • Parameters

    • Rest ...arg: [event: string | symbol, fn?: (...args: any[]) => void, context?: any, once?: boolean]

    Returns EventEmitter<string | symbol, any>

  • _attachToChannel(): void

Properties

_postMessage: PostMessageChannel
_moduleLoader: ModuleLoaderInterface
_eventListener: EventEmitter<string | symbol, any> = ...

Generated using TypeDoc