Package-level declarations
Types
Functions
Link copied to clipboard
fun <T> Flow<T>.asStateFlow(scope: CoroutineScope, started: SharingStarted = SharingStarted.WhileSubscribed(5000), initialValue: T = blockFirst()): StateFlow<T>
Link copied to clipboard
Executes multiple suspend functions asynchronously and waits for all to complete.
Link copied to clipboard
Blocks the current thread until the first value is emitted by the flow. This should be used cautiously, as it blocks the thread.
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The terminal operator that returns the first non-null element emitted by the flow and then cancels flow's collection. Throws NoSuchElementException if the flow was empty.
Link copied to clipboard