Fixes upcoming tests.
This commit is contained in:
parent
48c50f6b41
commit
843099d8ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue