instance method
timer
Ruby on Rails edge
Since edgeSignature
timer(every, &block)
No documentation comment.
Parameters
-
everyreq -
blockblock
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