feat: begin building worker
This commit is contained in:
parent
7b09967233
commit
6bea3c135f
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