Skip to content

Commit 348cd30

Browse files
authored
Merge pull request #2365 from malhal/patch-1
Fixed typo in 0314-async-stream.md
2 parents 901599d + cdc9a3d commit 348cd30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/0314-async-stream.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ extension QuakeMonitor {
114114
monitor.quakeHandler { quake in
115115
continuation.yield(quake)
116116
}
117-
monitor.onTermination = { _ in
118-
monitor.stopMonitoring
117+
continuation.onTermination = { _ in
118+
monitor.stopMonitoring()
119119
}
120120
monitor.startMonitoring()
121121
}

0 commit comments

Comments
 (0)