mirror of
https://git.um-react.app/um/um-react.git
synced 2026-07-12 06:21:13 +00:00
feat: begin building worker
This commit is contained in:
@@ -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