Version 1.0

This commit is contained in:
Alexander R.
2026-07-21 22:24:25 +00:00
parent f3645fbfbc
commit 9edbfd3f77
4134 changed files with 1448752 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
import { start } from '../editor/editor.worker.start.js';
let initialized = false;
function isWorkerInitialized() {
return initialized;
}
function initialize(callback) {
initialized = true;
self.onmessage = (m) => {
start((ctx) => {
return callback(ctx, m.data);
});
};
}
export { initialize, isWorkerInitialized };