registerWithContext
Registers a handler that receives a TaskExecutionContext with the task ID, retry count, payload, and tags at execution time.
Registers a handler that receives a TaskExecutionContext with the task ID, retry count, payload, and tags at execution time.