bullmq - v5.56.2
Preparing search index...
v2
RedisConnection
Class RedisConnection
Hierarchy
EventEmitter
RedisConnection
Index
Constructors
constructor
Properties
closing
minimum
Version
recommended
Minimum
Version
Accessors
client
redis
Version
Methods
close
disconnect
reconnect
wait
Until
Ready
Constructors
constructor
new
RedisConnection
(
opts
?:
ConnectionOptions
,
shared
?:
boolean
,
blocking
?:
boolean
,
)
:
RedisConnection
Parameters
Optional
opts
:
ConnectionOptions
shared
:
boolean
= false
blocking
:
boolean
= true
Returns
RedisConnection
Properties
closing
closing
:
boolean
Static
minimum
Version
minimumVersion
:
string
= '5.0.0'
Static
recommended
Minimum
Version
recommendedMinimumVersion
:
string
= '6.2.0'
Accessors
client
get
client
()
:
Promise
<
RedisClient
>
Returns
Promise
<
RedisClient
>
redis
Version
get
redisVersion
()
:
string
Returns
string
Methods
close
close
()
:
Promise
<
void
>
Returns
Promise
<
void
>
disconnect
disconnect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
reconnect
reconnect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Static
wait
Until
Ready
waitUntilReady
(
client
:
RedisClient
)
:
Promise
<
void
>
Waits for a redis client to be ready.
Parameters
client
:
RedisClient
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
closing
minimum
Version
recommended
Minimum
Version
Accessors
client
redis
Version
Methods
close
disconnect
reconnect
wait
Until
Ready
bullmq - v5.56.2
Loading...
Waits for a redis client to be ready.