nerses
11/12/2021, 10:52 PM.await()
vs .asDeffered().await()
.Nick Allen
11/13/2021, 12:18 AMstartFuture().await().
If this await is cancelled, nothing else will use the future so it's safe to cancel. Use asDeferred().await()
if the future is stored and used elsewhere or if it causes side effects that you still want even if the awaiting coroutine is cancelled.