Skip to main content
Version: Next

TaskRunner

TaskRunner

Function type for executing tasks.

This function is called by the driver when a task is scheduled to run. It receives the task execution data and should handle the actual execution of the task logic.

Signature
type TaskRunner = (task: TaskExecutionData) => Promise<void>