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 7236091 commit 7b81cf9Copy full SHA for 7b81cf9
src/lib/tool-event-broadcaster.ts
@@ -20,7 +20,9 @@ export class ToolEventBroadcaster<T> {
20
* Events are buffered so late-joining consumers can catch up.
21
*/
22
push(event: T): void {
23
- if (this.isComplete) return;
+ if (this.isComplete) {
24
+ return;
25
+ }
26
this.buffer.push(event);
27
this.notifyWaitingConsumers();
28
}
0 commit comments