FeatureObserverWrapperHelper<S, M, E> extension
Extension for attaching a FeatureObserver to a Feature.
Provides a convenient method to wrap a feature with an observer.
Example:
final observedFeature = myFeature.observe(MyObserver());
Methods
-
observe(
FeatureObserver< S, M, E> observer) → Feature<S, M, E> -
Available on Feature<
Wraps the feature with the specifiedS, M, E> , provided by the FeatureObserverWrapperHelper extensionobserver.