class Async::Task
def annotate(annotation, &block)
This will internally try to annotate the fiber if it is running, otherwise it will annotate the task itself.
Annotate the task with a description.
def annotate(annotation, &block) if @fiber @fiber.annotate(annotation, &block) else super end end