method

timer

rails latest stable - Class: ActionCable::Connection::FayeEventLoop

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

timer(interval, &block)
public

No documentation available.

# 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