Package com.tick42.glue.core.contexts
Interface ContextDataSubscriber<T>
- Type Parameters:
T- type of the context data
- All Superinterfaces:
ContextSubscriber<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback for context data updates.
- See Also:
-
Method Summary
-
Method Details
-
onUpdated
-
onUpdate
default void onUpdate(T value, Map<String, Object> delta, AsynchronousCloseable close, Map<String, Object> extra) - Specified by:
onUpdatein interfaceContextSubscriber<T>- Parameters:
value- the new valuedelta- the delta of the new valueclose- closeableextra- extra data- Since:
- 1.7.0
-