class EventMachine::Completion

def fail(*args)

Enter the :failed state, setting the result value if given.
def fail(*args)
  change_state(:failed, *args)
end