Package-level declarations

Functions

Link copied to clipboard
actual suspend fun <T> Task<T>.await(): T
expect suspend fun <T> Task<T>.await(): T

Awaits the completion of the task without blocking a thread, returning its result or throwing its exception, mirroring kotlinx.coroutines.tasks.await from kotlinx-coroutines-play-services so that Android code keeps its import unchanged on every platform.

actual suspend fun <T> Task<T>.await(): T
actual suspend fun <T> Task<T>.await(): T