microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
source/npm/qsharp/src/debug-service/worker-browser.ts
8lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | import { createWorker } from "../workers/browser.js"; |
| 5 | import { debugServiceProtocol } from "./debug-service.js"; |
| 6 | |
| 7 | // This export should be assigned to 'self.onmessage' in a WebWorker |
| 8 | export const messageHandler = createWorker(debugServiceProtocol); |
| 9 | |