Await is what is used to ensure proper handling of blocking for Awaitable instances.
While occasionally useful, e.g. for testing, it is recommended that you avoid Await when possible in favor of callbacks and combinators like onComplete and use in for comprehensions. Await will block the thread on which it runs, and could cause performance and deadlock issues.
Await is what is used to ensure proper handling of blocking for Awaitable instances.While occasionally useful, e.g. for testing, it is recommended that you avoid Await when possible in favor of ca
Await
is what is used to ensure proper handling of blocking forAwaitable
instances.While occasionally useful, e.g. for testing, it is recommended that you avoid Await when possible in favor of callbacks and combinators like onComplete and use in for comprehensions. Await will block the thread on which it runs, and could cause performance and deadlock issues.