We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0babba commit cedc0ddCopy full SHA for cedc0dd
packages/client/lib/client/commands-queue.ts
@@ -79,7 +79,7 @@ export default class RedisCommandsQueue {
79
this.decoder = this.#initiateDecoder();
80
const [waitingForReply, emptyEmitter] = makeEmptyAware(new SinglyLinkedList<CommandWaitingForReply>())
81
this.#waitingForReply = waitingForReply;
82
- emptyEmitter.on('empty', this.events.on.bind(this.events, 'waitingForReplyEmpty'))
+ emptyEmitter.on('empty', this.events.emit.bind(this.events, 'waitingForReplyEmpty'))
83
}
84
85
#onReply(reply: ReplyUnion) {
0 commit comments