type WorkerHandlers = Record<string, WorkerHandler>
Collection of handlers for different message types