class method
self.new
Ruby on Rails 2.0.23
Since v2.0.23 Last seen in v2.0.23Signature
self.new(key, thread, delay: )
No documentation comment.
Parameters
-
keyreq -
threadreq -
delaykeyreq
Source
# File app/models/turbo/thread_debouncer.rb, line 14
def initialize(key, thread, delay: )
@key = key
@debouncer = debouncer_class.new(delay: delay)
@thread = thread
end
Defined in app/models/turbo/thread_debouncer.rb line 14
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Turbo::ThreadDebouncer