Skip to content

Commit

Permalink
fix: cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Mar 6, 2024
1 parent cefa58f commit 716c584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmap/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ export class Connection extends TypedEventEmitter<ConnectionEvents> {
*/
private async *readMany(): AsyncGenerator<OpMsgResponse | OpQueryResponse> {
try {
this.dataEvents = this.dataEvents = onData(this.messageStream);
this.dataEvents = onData(this.messageStream);
for await (const message of this.dataEvents) {
const response = await decompressResponse(message);
yield response;
Expand Down

0 comments on commit 716c584

Please sign in to comment.