buildSubscriptionQuery
expect fun buildSubscriptionQuery(eventType: KvdbEventType, selectorType: KvdbEventSelectorType, selectorId: String): String
Generate subscription Query for the KVDB events.
Return
Query for subscribing event
Parameters
eventType
type of event you listen for
selectorType
scope on which you listen for events
selectorId
ID of the selector
Throws
thrown when instance is closed.
thrown when method encounters an exception.
thrown when method encounters an unknown exception.
actual fun buildSubscriptionQuery(eventType: KvdbEventType, selectorType: KvdbEventSelectorType, selectorId: String): String
Generate subscription Query for the KVDB events.
Return
Query for subscribing event
Parameters
eventType
type of event you listen for
selectorType
scope on which you listen for events
selectorId
ID of the selector
Throws
thrown when instance is closed.
thrown when method encounters an exception.
thrown when method encounters an unknown exception.
actual fun buildSubscriptionQuery(eventType: KvdbEventType, selectorType: KvdbEventSelectorType, selectorId: String): String