await

abstract suspend fun await(): T

Blocks the current thread to wait for a value if latestValue is null, otherwise returns latestValue immediately.

Behaves identically to nextValue before the first value is assigned.