Module: EM::Deferrable

Defined in:
lib/green/hub/em.rb

Instance Method Summary collapse

Instance Method Details

#green_cancelObject



11
12
13
14
15
# File 'lib/green/hub/em.rb', line 11

def green_cancel
  instance_variable_get(:@callbacks).each { |c| cancel_callback c }
  instance_variable_get(:@errbacks).each { |c| cancel_errback c }
  cancel_timeout
end