Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fix 1147
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed Jul 11, 2023
1 parent 4859e5e commit 100d652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rune/Rune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ class RunAsyncIter<T> extends RunStream<T> {
super(runner)
;(async () => {
for await (const value of fn()) {
if (!this.alive) break
this.push(value)
}
this.finish()
Expand Down

0 comments on commit 100d652

Please sign in to comment.