mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-05 15:13:14 +00:00
default implementation for close
This commit is contained in:
parent
f5c7a3c02b
commit
5e30230a9f
@ -29,11 +29,11 @@ method get*(self: Datastore, key: Key): Future[?!seq[byte]] {.base, locks: "unkn
|
||||
method put*(self: Datastore, key: Key, data: seq[byte]): Future[?!void] {.base, locks: "unknown".} =
|
||||
raiseAssert("Not implemented!")
|
||||
|
||||
method close*(self: Datastore): Future[?!void] {.base, locks: "unknown".} =
|
||||
raiseAssert("Not implemented!")
|
||||
method close*(self: Datastore): Future[?!void] {.base, async, locks: "unknown".} =
|
||||
return success()
|
||||
|
||||
method query*(
|
||||
self: Datastore,
|
||||
query: Query): Future[QueryIter] =
|
||||
query: Query): Future[QueryIter] {.gcsafe.} =
|
||||
|
||||
raiseAssert("Not implemented!")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user