mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-08-25 10:31:13 +00:00
Fix init signature according to Node API (#80)
* Fix init signature according to Node API See https://github.com/status-im/nim-waku/blob/master/docs/api/v2/node.md * Update docs and example
This commit is contained in:
+1
-2
@@ -16,8 +16,7 @@ five method are:
|
||||
proc init*(conf: WakuNodeConf): Future[WakuNode]
|
||||
## Creates and starts a Waku node.
|
||||
##
|
||||
## Status: Partially implemented.
|
||||
## TODO Take conf as a parameter and return a started WakuNode
|
||||
## Status: Implemented.
|
||||
|
||||
method subscribe*(w: WakuNode, topic: Topic, handler: TopicHandler)
|
||||
## Subscribes to a PubSub topic. Triggers handler when receiving messages on
|
||||
|
||||
Reference in New Issue
Block a user