mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-17 08:34:20 +00:00
Fixes upcoming tests.
This commit is contained in:
@@ -1669,7 +1669,7 @@ proc readAll*(future: FutureStream[string]): Future[string] {.async.} =
|
||||
## specified future stream is retrieved.
|
||||
result = ""
|
||||
while true:
|
||||
let (hasValue, value) = await future.take()
|
||||
let (hasValue, value) = await future.read()
|
||||
if hasValue:
|
||||
result.add(value)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user