class Rake::Promise

def stat(*args)

Record execution statistics if there is a recorder
def stat(*args)
  @recorder.call(*args) if @recorder
end