mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
14 lines
414 B
Nim
14 lines
414 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]
|
||
|
|
) {.gcsafe, raises: [].} =
|
||
|
|
error "onUnsubscribe not implemented"
|