(id: number)
| 212 | } |
| 213 | exchange.listeners.add(ready) |
| 214 | const started = (id: number) => { |
| 215 | exchange.start(id) |
| 216 | // iOS assigns the ID asynchronously; cancellation may arrive first. |
| 217 | if (signal.aborted) exchange.abort() |
| 218 | } |
| 219 | signal.addEventListener("abort", exchange.abort, { once: true }) |
| 220 | const devToolsRequestId = (globalThis as any).__NETWORK_REPORTER__ |
| 221 | ?.createDevToolsRequestId() |