mirror of
https://github.com/kubernetes/client-go.git
synced 2026-07-15 15:29:18 +00:00
The rationale for explicit cancellation checks is that these functions have side effects that can be avoided when checking upfront. These side effects can still occur when cancellation happens while the functions are executing, but "already canceled" is common enough that it deserves special handling. Kubernetes-commit: c3f63fc258b73e487da7ca84c40be43fc4c5f4dd