Skip to content

Commit

Permalink
fix: cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Mar 7, 2024
1 parent 24bc347 commit 3ab0508
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 @@ -623,7 +623,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 3ab0508

Please sign in to comment.