mirror of
https://github.com/imgfloat/server.git
synced 2026-03-23 07:10:38 +00:00
Add todos
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user