@FarzadShbfn@_silgen_name@gson_dev@krzyzanowskim This only cancels when all pending tasks are cancelled, and does not cancel if even one task remains. To cancel immediately upon cancellation, it should be written like this: https://t.co/P4mCEZd06c
@FarzadShbfn@gson_dev@_silgen_name@krzyzanowskim Calling `await Task.value` does not propagate cancellation. It will continue to wait even if the caller of getBearerToken() cancels the task. defer is meaningless because the task is completely finished and executed.