From 7966bf14c062a05b1606a62c996890571454ecc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 21 Jan 2020 09:49:47 +0100 Subject: refactor: split worker and worker host logic (#3722) * split ops/worker.rs into ops/worker_host.rs and ops/web_worker.rs * refactor js/workers.ts and factor out js/worker_main.ts - entry point for WebWorker runtime * BREAKING CHANGE: remove support for blob: URL in Worker * BREAKING CHANGE: remove Deno namespace support and noDenoNamespace option in Worker constructor * introduce WebWorker struct which is a stripped down version of cli::Worker --- cli/tests/subdir/bench_worker.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/tests/subdir/bench_worker.ts') diff --git a/cli/tests/subdir/bench_worker.ts b/cli/tests/subdir/bench_worker.ts index 094cefb80..696a84b9f 100644 --- a/cli/tests/subdir/bench_worker.ts +++ b/cli/tests/subdir/bench_worker.ts @@ -14,6 +14,7 @@ onmessage = function(e): void { postMessage({ cmdId }); break; case 3: // Close + postMessage({ cmdId: 3 }); workerClose(); break; } -- cgit v1.2.3