From 1330dcb4304fa92b2db699cc82b8aebaee06bd53 Mon Sep 17 00:00:00 2001 From: "Richard T. Carback III" <rick.carback@gmail.com> Date: Sun, 10 Mar 2024 18:12:33 +0000 Subject: [PATCH] Delete logFileWorker --- logging/workerThread/logFileWorker.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 logging/workerThread/logFileWorker.js diff --git a/logging/workerThread/logFileWorker.js b/logging/workerThread/logFileWorker.js deleted file mode 100644 index ed246f62..00000000 --- a/logging/workerThread/logFileWorker.js +++ /dev/null @@ -1,21 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// Copyright © 2022 xx foundation // -// // -// Use of this source code is governed by a license that can be found in the // -// LICENSE file. // -//////////////////////////////////////////////////////////////////////////////// - -importScripts('wasm_exec.js'); - -const isReady = new Promise((resolve) => { - self.onWasmInitialized = resolve; -}); - -const go = new Go(); -const binPath = 'xxdk-logFileWorker.wasm' -WebAssembly.instantiateStreaming(fetch(binPath), go.importObject).then(async (result) => { - go.run(result.instance); - await isReady; -}).catch((err) => { - console.error(err); -}); \ No newline at end of file -- GitLab