TaskData
TaskData
Represents the data structure for a task instance.
This includes the task metadata and any custom data passed to the task.
Signature
interface TaskData<T extends Record<string, any> = Record<string, any>> {
name: string;
data: T;
schedule: TaskSchedule;
immediate?: boolean;
}