blockFirstNotNull

fun <T> Flow<T>.blockFirstNotNull(): T

Blocks the current thread until the first non-null value is emitted by the flow. This should be used cautiously, as it blocks the thread.