Setup example worker

This commit is contained in:
Schluffe
2026-09-27 18:09:53 +02:00
parent a647cd5184
commit d57c58a3bd
4 changed files with 24 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
// biome-ignore lint: web worker
onmessage = (event) => {
if (event.data === "foo") {
postMessage("bar");
}
};