mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-07 16:13:07 +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".} =
|
method put*(self: Datastore, key: Key, data: seq[byte]): Future[?!void] {.base, locks: "unknown".} =
|
||||||
raiseAssert("Not implemented!")
|
raiseAssert("Not implemented!")
|
||||||
|
|
||||||
method close*(self: Datastore): Future[?!void] {.base, locks: "unknown".} =
|
method close*(self: Datastore): Future[?!void] {.base, async, locks: "unknown".} =
|
||||||
raiseAssert("Not implemented!")
|
return success()
|
||||||
|
|
||||||
method query*(
|
method query*(
|
||||||
self: Datastore,
|
self: Datastore,
|
||||||
query: Query): Future[QueryIter] =
|
query: Query): Future[QueryIter] {.gcsafe.} =
|
||||||
|
|
||||||
raiseAssert("Not implemented!")
|
raiseAssert("Not implemented!")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user