mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 14:13:09 +00:00
setup query
This commit is contained in:
parent
7a0c660788
commit
7a4b9acedc
@ -263,6 +263,7 @@ method query*(
|
||||
|
||||
var
|
||||
lock = newAsyncLock() # serialize querying under threads
|
||||
iter = QueryIter.new()
|
||||
|
||||
proc next(): Future[?!QueryResponse] {.async.} =
|
||||
defer:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user