await

suspend fun <T> Promise<T>.await(): T

Deprecated

Use CompletableDeferred instead

suspend fun <T> Future<T>.await(): T