nwaku/waku/waku_core/topics.nim

14 lines
282 B
Nim

import
./topics/content_topic,
./topics/pubsub_topic,
./topics/sharding
export
content_topic,
pubsub_topic,
sharding
type
SubscriptionKind* = enum ContentSub, ContentUnsub, PubsubSub, PubsubUnsub
SubscriptionEvent* = tuple[kind: SubscriptionKind, topic: string]