sealed class Event
Represents a notification received by a callback function (previously passed to one of the DatasyncNode.subscribe methods) from the Webcom back end in response to a Subscription.
The subclasses of this class directly correspond to the subscribed event type.
abstract val node: DatasyncNode
The data node watched by the subscription. |
|
abstract val subscription: Subscription
The Subscription instance that sends this notification Event. |
data class ChildEvent : Event
Notification of a subscribed Child event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods). |
|
data class ValueChangedWithDataEvent : Event
Notification of a subscribed ValueChanged.WithData event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods). |
|
data class ValueChangedWithoutDataEvent : Event
Notification of a subscribed ValueChanged.WithoutData event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods). |