forked from um/um-react
feat: begin building worker
This commit is contained in:
parent
7b09967233
commit
6bea3c135f
|
@ -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);
|
||||
};
|
Loading…
Reference in New Issue