class Rake::Promise

def complete?

Are we done with the promise
def complete?
  result? || error?
end