eulerjs API / @eulerjs/marine / SpectralPort
SpectralPort
Defined in: packages/marine/src/waves/spectralWorker.ts:18
What a Worker, a worker's own global scope and a MessagePort all are, as far as this goes.
Properties
| Property | Type | Defined in |
|---|---|---|
onmessage | ((event) => void) | null | packages/marine/src/waves/spectralWorker.ts:20 |
Methods
postMessage()
ts
postMessage(message, transfer): void;Defined in: packages/marine/src/waves/spectralWorker.ts:19
Parameters
| Parameter | Type |
|---|---|
message | unknown |
transfer | Transferable[] |
Returns
void
