protected void notifyInMainThread ( final T value ) { for ( ValueChangedListener < T > listener : listeners ) { listener . onChanged ( value , Value . this ) ; } }
Performing notification to subscribers if we know that we are on mainthread Useful for chainging updates from chain of values