blockFirst

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

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