Type Alias Hook

Hook: ((task: Task, mode: "run" | "warmup") => Promise<void> | void)