class Async::Task
def finished?
Whether we can remove this node from the reactor graph.
def finished? # If the block is nil and the fiber is nil, it means the task has finished execution. This becomes true after `finish!` is called. super && @block.nil? && @fiber.nil? end