You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix cluster.sUnsubscribe
- make listener
optional (#2946)
This commit is contained in:
@@ -548,7 +548,7 @@ export default class RedisCluster<
|
||||
|
||||
SUNSUBSCRIBE<T extends boolean = false>(
|
||||
channels: string | Array<string>,
|
||||
listener: PubSubListener<T>,
|
||||
listener?: PubSubListener<T>,
|
||||
bufferMode?: T
|
||||
) {
|
||||
return this._self.#slots.executeShardedUnsubscribeCommand(
|
||||
|
Reference in New Issue
Block a user