(cause: unknown)
| 78 | port.on("message", onMessage) |
| 79 | |
| 80 | function onMessageError(cause: unknown) { |
| 81 | Deferred.doneUnsafe( |
| 82 | closeLatch, |
| 83 | new WorkerError({ |
| 84 | reason: new WorkerReceiveError({ |
| 85 | message: "received messageerror event", |
| 86 | cause |
| 87 | }) |
| 88 | }) |
| 89 | ) |
| 90 | } |
| 91 | function onError(cause: unknown) { |
| 92 | Deferred.doneUnsafe( |
| 93 | closeLatch, |
nothing calls this directly
no outgoing calls
no test coverage detected