Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.
method
Worker.postMessage
Referenced types
type Transferable = ArrayBuffer | MessagePort
method
Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.