Skip to content

Commit cedc0dd

Browse files
committed
fix typo
1 parent b0babba commit cedc0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/lib/client/commands-queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default class RedisCommandsQueue {
7979
this.decoder = this.#initiateDecoder();
8080
const [waitingForReply, emptyEmitter] = makeEmptyAware(new SinglyLinkedList<CommandWaitingForReply>())
8181
this.#waitingForReply = waitingForReply;
82-
emptyEmitter.on('empty', this.events.on.bind(this.events, 'waitingForReplyEmpty'))
82+
emptyEmitter.on('empty', this.events.emit.bind(this.events, 'waitingForReplyEmpty'))
8383
}
8484

8585
#onReply(reply: ReplyUnion) {

0 commit comments

Comments
 (0)