Sha256: 7bfa8faf8524ea0483bf07c2b5837e8fbfa060c8a0dbbba5c9f856fc7d48e58a

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

require "sidekiq/job"

module Sidekiq
  # Sidekiq::Job is a new alias for Sidekiq::Worker as of Sidekiq 6.3.0.
  # Use `include Sidekiq::Job` rather than `include Sidekiq::Worker`.
  #
  # The term "worker" is too generic and overly confusing, used in several
  # different contexts meaning different things. Many people call a Sidekiq
  # process a "worker". Some people call the thread that executes jobs a
  # "worker". This change brings Sidekiq closer to ActiveJob where your job
  # classes extend ApplicationJob.
  Worker = Job
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-7.0.0.beta1 lib/sidekiq/worker_compatibility_alias.rb