class Sidekiq::Middleware::Entry
@api private
Represents each link in the middleware chain
def initialize(config, klass, *args)
def initialize(config, klass, *args) @config = config @klass = klass @args = args end
def make_new
def make_new x = @klass.new(*@args) x.config = @config if @config && x.respond_to?(:config=) x end