playing with workers

This commit is contained in:
Jade (Rose) Rowland 2024-01-09 19:39:21 -05:00
parent 6eec4277c1
commit 0006f6483d
4 changed files with 38 additions and 41 deletions

View file

@ -0,0 +1,5 @@
self.onmessage = ({ data: { question } }) => {
self.postMessage({
answer: 42,
});
};