Module: Esse::AsyncIndexing::Workers::SharedClassMethods
- Defined in:
- lib/esse/async_indexing/workers/shared_class_methods.rb
Instance Method Summary collapse
- #perform_async(*args) ⇒ Object
- #perform_in(interval, *args) ⇒ Object (also: #perform_at)
Instance Method Details
#perform_async(*args) ⇒ Object
6 7 8 |
# File 'lib/esse/async_indexing/workers/shared_class_methods.rb', line 6 def perform_async(*args) build_worker.with_args(*args).push end |
#perform_in(interval, *args) ⇒ Object Also known as: perform_at
10 11 12 |
# File 'lib/esse/async_indexing/workers/shared_class_methods.rb', line 10 def perform_in(interval, *args) build_worker.with_args(*args).at(interval).push end |