await
Platform and version requirements: JS
Awaits for completion of the promise without blocking.
This suspending function is cancellable. If the Job of the current coroutine is cancelled or completed while this suspending function is waiting, this function stops waiting for the promise and immediately resumes with CancellationException.