instance method timer

Ruby on Rails 5.0.7.2

Since v5.0.7.2 Last seen in v5.0.7.2

Signature

timer(interval, &block)

No documentation comment.

Parameters

interval req
block block
Source
# File actioncable/lib/action_cable/connection/faye_event_loop.rb, line 12
      def timer(interval, &block)
        ensure_reactor_running
        EMTimer.new(::EM::PeriodicTimer.new(interval, &block))
      end

Defined in actioncable/lib/action_cable/connection/faye_event_loop.rb line 12 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Connection::FayeEventLoop

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close