apimachinery/wait: add context-aware helpers
This adds three context-aware helpers to the existing set of `util/wait`
wrappers. Those allow to link caller, wrapper, and inner function into
the same cancellation chain. It also allows to gracefully cancel inner
workload when the parent context expires.
Signed-off-by:
Luca Bruno <luca.bruno@coreos.com>
Showing
Please
register
or
sign in
to comment