(message)
| 18 | |
| 19 | /* Fire a string into the running script's `receive()` queue. Defined early so main-thread module factories can capture it. */ |
| 20 | const pushEvent = (message) => worker.postMessage({ type: 'push-event', message: String(message) }); |
| 21 | |
| 22 | /* Resolve each `mainThreadModules[name]` (factory or object) into a flat handler map keyed `module:name`. */ |
| 23 | const mainThreadHandlers = {}; |
no outgoing calls
no test coverage detected