Skip to content

Commit

Permalink
Definitely not using callbacks in the async interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Mar 5, 2024
1 parent d81bab9 commit ae1f6e5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,11 +744,6 @@ export class StreamClient {
throw StreamError.fromStreamEventError(deserializedEvent);
}

// TODO: handle callbacks when using the async generator?
// this.#callbacks[deserializedEvent.type].forEach((callback) =>
// callback(deserializedEvent)
// );

this.#last_ts = deserializedEvent.ts;

yield deserializedEvent;
Expand Down

0 comments on commit ae1f6e5

Please sign in to comment.