mirror of https://github.com/waku-org/nwaku.git
21 lines
363 B
Nim
21 lines
363 B
Nim
import
|
|
chronos
|
|
|
|
import
|
|
../../../waku/[
|
|
waku_core/message,
|
|
waku_store
|
|
]
|
|
|
|
|
|
let FUTURE_TIMEOUT* = 1.seconds
|
|
|
|
proc newPushHandlerFuture*(): Future[(string, WakuMessage)] =
|
|
newFuture[(string, WakuMessage)]()
|
|
|
|
proc newBoolFuture*(): Future[bool] =
|
|
newFuture[bool]()
|
|
|
|
proc newHistoryFuture*(): Future[HistoryQuery] =
|
|
newFuture[HistoryQuery]()
|