This is very confusing as seen in #12974 or #12906. My suggestion would be "legacy."
if (terminated) {
        throw new Error("Worker was terminated");
      }
    }
    function startWorkerTask(task) {
      WorkerTasks.push(task);
    }
    function finishWorkerTask(task) {