Skip to main content

Interface: BLZWorker

threading/worker.BLZWorker

Hierarchy

  • Worker

    โ†ณ BLZWorker

Properties

onerror

โ€ข onerror: (ev: ErrorEvent) => any

Type declaration

โ–ธ (ev): any

Parameters
NameType
evErrorEvent
Returns

any

Inherited from

Worker.onerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:1970


onmessageerror

โ€ข onmessageerror: (ev: MessageEvent<any>) => any

Type declaration

โ–ธ (ev): any

Parameters
NameType
evMessageEvent<any>
Returns

any

Inherited from

Worker.onmessageerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17433

Methods

addEventListener

โ–ธ addEventListener<K>(type, listener, options?): void

Type parameters

NameType
Kextends keyof WorkerEventMap

Parameters

NameType
typeK
listener(ev: WorkerEventMap[K]) => any
options?boolean | AddEventListenerOptions

Returns

void

Inherited from

Worker.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17443

โ–ธ addEventListener(type, listener, options?): void

Parameters

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | AddEventListenerOptions

Returns

void

Inherited from

Worker.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17444


dispatchEvent

โ–ธ dispatchEvent(event): boolean

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

Parameters

NameType
eventEvent

Returns

boolean

Inherited from

Worker.dispatchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5210


onmessage

โ–ธ onmessage(e): void

Parameters

NameType
eObject
e.dataWorkerMessage

Returns

void

Overrides

Worker.onmessage

Defined in

src/threading/worker.ts:11


postMessage

โ–ธ postMessage(data): void

Parameters

NameType
dataWorkerMessage

Returns

void

Overrides

Worker.postMessage

Defined in

src/threading/worker.ts:10


removeEventListener

โ–ธ removeEventListener<K>(type, listener, options?): void

Type parameters

NameType
Kextends keyof WorkerEventMap

Parameters

NameType
typeK
listener(ev: WorkerEventMap[K]) => any
options?boolean | EventListenerOptions

Returns

void

Inherited from

Worker.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17445

โ–ธ removeEventListener(type, listener, options?): void

Parameters

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | EventListenerOptions

Returns

void

Inherited from

Worker.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17446


terminate

โ–ธ terminate(): void

Aborts worker's associated global environment.

Returns

void

Inherited from

Worker.terminate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:17442