microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
fedimser/sparsesim-version

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

source/npm/qsharp/src/compiler/worker.ts

9lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4import { createWorker } from "../workers/worker.js";
5import { compilerProtocol } from "./compiler.js";
6
7// message handler exported for backwards compatibility
8export const messageHandler = createWorker(compilerProtocol);
9addEventListener("message", messageHandler);
10