class Builder
Definitions
def initialize(delegate = nil)
Signature
-
parameter
delegate
Object
The initial delegate that will be wrapped by the queue.
Implementation
def initialize(delegate = nil)
# The client side middleware, in the order they should be applied to a job:
@enqueue = []
# The server side middleware, in the order they should be applied to a job:
@dequeue = []
# The output delegate, if any:
@delegate = delegate
end