class method
self.new
Ruby on Rails 7.1.6
Since v5.2.8.1Signature
self.new(**executor_options)
See Concurrent::ThreadPoolExecutor for executor options.
Parameters
-
executor_optionskeyrest
Source
# File activejob/lib/active_job/queue_adapters/async_adapter.rb, line 35
def initialize(**executor_options)
@scheduler = Scheduler.new(**executor_options)
end
Defined in activejob/lib/active_job/queue_adapters/async_adapter.rb line 35
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::QueueAdapters::AsyncAdapter