Class: ActionCable::Connection::FayeEventLoop::EMTimer

Inherits:
Object
  • Object
show all
Defined in:
lib/action_cable/connection/faye_event_loop.rb

Instance Method Summary collapse

Constructor Details

#initialize(inner) ⇒ EMTimer

Returns a new instance of EMTimer.



34
35
36
# File 'lib/action_cable/connection/faye_event_loop.rb', line 34

def initialize(inner)
  @inner = inner
end

Instance Method Details

#shutdownObject



38
39
40
# File 'lib/action_cable/connection/faye_event_loop.rb', line 38

def shutdown
  @inner.cancel
end