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 beddd34 commit f603f2dCopy full SHA for f603f2d
src/lib/EventStream.ts
@@ -46,7 +46,7 @@ export class EventStream<EventTypes extends BaseEvents> {
46
executor().then(() => {
47
this._emitFinal();
48
this._emit('end');
49
- }, this.#handleError);
+ }, this.#handleError.bind(this));
50
}, 0);
51
}
52
0 commit comments