execute abstract method
Executes middleware around task handler.
taskName — Name of the task being executed
ctx — Task execution context (input, executionId, etc)
next — Callback to the next middleware or actual handler
Return the result from next() or modify it.
Implementation
Future<TaskResult> execute(
String taskName,
TaskContext ctx,
Future<TaskResult> Function() next,
);