setup query

This commit is contained in:
Jaremy Creechley 2023-09-26 13:34:20 -07:00
parent 7a0c660788
commit 7a4b9acedc
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -263,6 +263,7 @@ method query*(
var
lock = newAsyncLock() # serialize querying under threads
iter = QueryIter.new()
proc next(): Future[?!QueryResponse] {.async.} =
defer: