interface DynamicTypeValueReceiver<T>


Callback for an evaluation result. This is intended to support two-step updates; first a notification will be sent that the evaluation result item will be updated, then the new evaluation result will be delivered. This allows downstream consumers to properly synchronize their updates if they depend on two or more evaluation result items, rather than updating multiple times (with potentially invalid states).

Parameters
<T>

Data type.

Summary

Public functions

Unit
onData(newData: T)

Called when the dynamic type that this callback was registered for has a new evaluation result.

Unit

Called when the dynamic type that this callback was registered for has an invalid result.

Public functions

onData

Added in 1.0.0
fun onData(newData: T): Unit

Called when the dynamic type that this callback was registered for has a new evaluation result.

onInvalidated

Added in 1.0.0
fun onInvalidated(): Unit

Called when the dynamic type that this callback was registered for has an invalid result.