Module: Faye::Deferrable

Includes:
EventMachine::Deferrable
Included in:
Client, Engine::Connection, Publication, Subscription, Transport::WebSocket, Transport::WebSocket::Request
Defined in:
lib/faye/mixins/deferrable.rb

Instance Method Summary collapse

Instance Method Details

#set_deferred_status(status, *args) ⇒ Object


6
7
8
9
10
11
# File 'lib/faye/mixins/deferrable.rb', line 6

def set_deferred_status(status, *args)
  if status == :unknown
    @deferred_status = @deferred_args = @callbacks = @errbacks = nil
  end
  super
end