mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-25 14:56:58 +00:00
feat: begin building worker
This commit is contained in:
1 parent
7a12d6c6a1
commit
5e09de5991
2 files changed
+4
No files matched your search
@@ -0,0 +1 @@
|
||||
export const workerClient = new Worker(new URL('./worker', import.meta.url), { type: 'module' });
|
||||
@@ -0,0 +1,3 @@
|
||||
onmessage = (e) => {
|
||||
console.log(e.data);
|
||||
};
|
||||
Reference in new issue
Block a user