Skip to main content
Version: 1.x

TaskExecutionData

TaskExecutionData​

Data structure passed to task execution handlers.

This includes the task metadata and execution timestamp, but excludes scheduling information since the task is already being executed.

Signature
type TaskExecutionData = Omit<
TaskData,
'schedule' | 'immediate' | 'timezone'
> & {
/** Unix timestamp when the task execution started */
timestamp: number;
}