awaitUnchanged

abstract suspend fun awaitUnchanged()(source)

Awaits the next item and asserts that it is unchanged from the previous emission. Essentially this is a sort of escape-hatch from the altered "distinct until changed" behavior of awaitItem in this implementation and can be used to more or less assert no change in state after the next recomposition.