(requestId: number, ok: boolean, value?: unknown, error?: string)
| 532 | const source = event.source; |
| 533 | if (!source || typeof source.postMessage !== "function") return; |
| 534 | const respond = (requestId: number, ok: boolean, value?: unknown, error?: string) => { |
| 535 | source.postMessage( |
| 536 | { |
| 537 | type: "executor.response", |
| 538 | requestId, |
| 539 | token: current.token, |
| 540 | ok, |
| 541 | value, |
| 542 | error, |
| 543 | }, |
| 544 | "*", |
| 545 | ); |
| 546 | }; |
| 547 | |
| 548 | if (data.type === "executor.renderer.ready") { |
| 549 | // The bootstrap runs before generated code. A later ready message is |
no outgoing calls
no test coverage detected