Retrieves the underlying consumer connection.
This method uses a type assertion to return the connection as the requested type. It is the caller's responsibility to ensure the correct type is used.
The expected type of the consumer connection.
The consumer connection cast to type T.
StaticregisterRegisters the connector as a singleton in the DI container.
The DI container to register in.
Redis-based consumer connector implementation.
Uses the ioredis client to manage connections for the Bull queue consumer.
See
https://github.com/redis/ioredis - ioredis documentation
Depends:
Example