mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-05 23:23:10 +00:00
add tests for new ds'es
This commit is contained in:
parent
24ce85e49b
commit
f2bfe7affc
@ -49,7 +49,8 @@ proc waitForAllQueryResults*(qi: ?!QueryIter): Future[?!seq[QueryResponse]] {.as
|
|||||||
return failure(rd.error())
|
return failure(rd.error())
|
||||||
return success res
|
return success res
|
||||||
|
|
||||||
proc waitForAllQueryResults*(iter: Future[?!QueryIter]): Future[?!seq[QueryResponse]] {.async.} =
|
proc waitForAllQueryResults*(iter: Future[?!QueryIter]
|
||||||
|
): Future[?!seq[QueryResponse]] {.async.} =
|
||||||
let res = await iter
|
let res = await iter
|
||||||
return await waitForAllQueryResults(res)
|
return await waitForAllQueryResults(res)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user