Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

onerror: null | ((this: AbstractWorker, ev: internal.ErrorEvent) => any)

Methods

  • addEventListener<K>(type: K, listener: ((this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any), options?: boolean | AddEventListenerOptions): void
  • addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void
  • Type Parameters

    • K extends "error"

    Parameters

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | AddEventListenerOptions

    Returns void

  • removeEventListener<K>(type: K, listener: ((this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any), options?: boolean | EventListenerOptions): void
  • removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void
  • Type Parameters

    • K extends "error"

    Parameters

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | EventListenerOptions

    Returns void

Generated using TypeDoc