await

suspend fun <T> RestAction<T>.await(): T(source)

Suspends until the REST request is finished and returns the result.


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

Suspends until the gateway request is finished and returns the result.