Skip to content

Interface: LayoutWorkerLike ​

The part of a Worker the client uses.

Properties ​

PropertyType
onerror((event) => void) | null
onmessage((event) => void) | null

Methods ​

postMessage() ​

ts
postMessage(message, transfer): void;

Parameters ​

ParameterType
messageLayoutMessage
transferArrayBuffer[]

Returns ​

void


terminate() ​

ts
terminate(): void;

Returns ​

void

Released under the MIT License.