Closed OrestF closed 1 year ago
@OrestF BaseJob class:
class BaseJob < ApplicationJob def perform(service_klass, *args) service_klass.constantize.call(*args) end end
Usage: BaseJob.set(queue: :critical).perform_async('Users::Action::SendNotification', record: user) As a suggestion for this issue.
BaseJob.set(queue: :critical).perform_async('Users::Action::SendNotification', record: user)
@OrestF What is the current state of this issue? 🤔
Done
@OrestF BaseJob class:
Usage:
BaseJob.set(queue: :critical).perform_async('Users::Action::SendNotification', record: user)
As a suggestion for this issue.