messageHandler property
The handler invoked when the page sends a message to the worker.
Registered by the callback dispatcher (mirrors executeTask); the Web Worker and Service Worker runtimes route page messages here.
Implementation
WorkerMessageHandler? messageHandler;