docs: def wrap_callback(function):
          """Set the callback's result as self._callback_result."""
  
          @wraps(function)
          def wrapped(task):
              task._callback_result = function(task)
              return task._callback_result
  
          return wrapped