public 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 methods

abstract void
onData(@NonNull T newData)

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

abstract void

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

Public methods

onData

Added in 1.0.0
abstract void onData(@NonNull T newData)

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

onInvalidated

Added in 1.0.0
abstract void onInvalidated()

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