Class: ActionCable::Connection::FayeEventLoop::EMTimer
- Inherits:
-
Object
- Object
- ActionCable::Connection::FayeEventLoop::EMTimer
- Defined in:
- lib/action_cable/connection/faye_event_loop.rb
Instance Method Summary collapse
-
#initialize(inner) ⇒ EMTimer
constructor
A new instance of EMTimer.
- #shutdown ⇒ Object
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
#shutdown ⇒ Object
38 39 40 |
# File 'lib/action_cable/connection/faye_event_loop.rb', line 38 def shutdown @inner.cancel end |