mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-23 20:42:17 +00:00
feat: begin building worker
This commit is contained in:
parent
7a12d6c6a1
commit
5e09de5991
1
src/decrypt-worker/client.ts
Normal file
1
src/decrypt-worker/client.ts
Normal file
@ -0,0 +1 @@
|
||||
export const workerClient = new Worker(new URL('./worker', import.meta.url), { type: 'module' });
|
3
src/decrypt-worker/worker.ts
Normal file
3
src/decrypt-worker/worker.ts
Normal file
@ -0,0 +1,3 @@
|
||||
onmessage = (e) => {
|
||||
console.log(e.data);
|
||||
};
|
Loading…
Reference in New Issue
Block a user