observeNewState

fun observeNewState(observer: (newState: T) -> Unit): Boolean

Adds an observer that only cares about the new state.