mirror of https://github.com/waku-org/nwaku.git
14 lines
295 B
Nim
14 lines
295 B
Nim
{.push raises: [].}
|
|
|
|
import stew/results, chronos
|
|
import ./driver
|
|
|
|
type RetentionPolicyResult*[T] = Result[T, string]
|
|
|
|
type RetentionPolicy* = ref object of RootObj
|
|
|
|
method execute*(
|
|
p: RetentionPolicy, store: ArchiveDriver
|
|
): Future[RetentionPolicyResult[void]] {.base, async.} =
|
|
discard
|