mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-09 14:26:27 +00:00
c861fa9f75
- Removes deprecation and unused import warnings for libwaku - Removes unused imports - Adds .base. pragma to `SubscriptionObserver.onSubscribe` - Uses casting for uint to enums conversions - Bumps nim-chronicles
14 lines
420 B
Nim
14 lines
420 B
Nim
import chronicles
|
|
|
|
type SubscriptionObserver* = ref object of RootObj
|
|
|
|
method onSubscribe*(
|
|
self: SubscriptionObserver, pubsubTopic: string, contentTopics: seq[string]
|
|
) {.base, gcsafe, raises: [].} =
|
|
error "onSubscribe not implemented"
|
|
|
|
method onUnsubscribe*(
|
|
self: SubscriptionObserver, pubsubTopic: string, contentTopics: seq[string]
|
|
) {.base, gcsafe, raises: [].} =
|
|
error "onUnsubscribe not implemented"
|