Optionaloptions: { blocking?: boolean; withBlockingConnection?: boolean }
Optionalblocking?: booleanThe backend's main connection is itself blocking (e.g. QueueEvents).
OptionalwithBlockingConnection?: booleanProvision a dedicated blocking connection (workers).
Factory that builds an IQueueBackend for a given queue. Injected into the queue classes so they depend only on the abstraction, never on a concrete datastore/connection. The default factory is the Redis one (
createRedisBackend).Constructors infer the backend and connection types from this factory. Use withBackend when also specifying job or event-result type arguments. Without a factory or explicit types, constructors retain their Redis defaults.