MessagePort.start - Web documentation
method MessagePort.start
MessagePort.start(): void

Begins dispatching messages received on the port. This is implicitly called when assigning a value to this.onmessage.

Return Type

void