Add todos

This commit is contained in:
2026-02-10 13:44:21 +01:00
parent 45fb1921da
commit c4bed3f050
12 changed files with 18 additions and 0 deletions

View File

@@ -330,6 +330,7 @@ function createScriptHandlers(source, context, state, sourceLabel = "") {
return factory(context, state, module, exports);
}
// TODO: Code smell Worker command handling relies on a long conditional dispatcher that is hard to maintain.
self.addEventListener("message", (event) => {
const { type, payload } = event.data || {};
if (type === "init") {