(maybePort)
| 61632 | } |
| 61633 | } |
| 61634 | function isMessagePort(maybePort) { |
| 61635 | return typeof maybePort.postMessage === "function" && "onmessage" in maybePort; |
| 61636 | } |
| 61637 | if (typeof window === "undefined" && !isNodeJS && typeof self !== "undefined" && isMessagePort(self)) { |
| 61638 | WorkerMessageHandler.initializeFromPort(self); |
| 61639 | } |