pub type TaskExecutionFunction = Arc<dyn Fn() -> Pin<Box<dyn Future<Output = Result<TaskResult>> + Send>> + Send + Sync>;
Task execution function type
pub struct TaskExecutionFunction { /* private fields */ }