instance method timer

Ruby on Rails edge

Since edge

Signature

timer(every, &block)

No documentation comment.

Parameters

every req
block block
Source
# File actioncable/lib/action_cable/connection/test_case.rb, line 151
      def timer(every, &block)
        TestTimer.new(every, &block).tap { |t| @timers << t }
      end

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

Defined in ActionCable::Connection::TestServer

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