1 | ;
|
2 | // Webpack hack
|
3 | // tslint:disable no-eval
|
4 | Object.defineProperty(exports, "__esModule", { value: true });
|
5 | let implementation;
|
6 | function selectImplementation() {
|
7 | return typeof __non_webpack_require__ === "function"
|
8 | ? __non_webpack_require__("worker_threads")
|
9 | : eval("require")("worker_threads");
|
10 | }
|
11 | function getImplementation() {
|
12 | if (!implementation) {
|
13 | implementation = selectImplementation();
|
14 | }
|
15 | return implementation;
|
16 | }
|
17 | exports.default = getImplementation;
|