property Worker.onmessage
Event handler for message events. Fired when the worker sends data back to the main thread.
Type #
((this: Worker,e: MessageEvent,) => any) | null Event handler for message events. Fired when the worker sends data back to the main thread.
((this: Worker,e: MessageEvent,) => any) | null