(cause: unknown)
| 89 | ) |
| 90 | } |
| 91 | function onError(cause: unknown) { |
| 92 | Deferred.doneUnsafe( |
| 93 | closeLatch, |
| 94 | new WorkerError({ |
| 95 | reason: new WorkerReceiveError({ |
| 96 | message: "received error event", |
| 97 | cause |
| 98 | }) |
| 99 | }) |
| 100 | ) |
| 101 | } |
| 102 | if (WorkerThreads.parentPort) { |
| 103 | WorkerThreads.parentPort.on("messageerror", onMessageError) |
| 104 | WorkerThreads.parentPort.on("error", onError) |
nothing calls this directly
no outgoing calls
no test coverage detected