A function decorated with a .cancel() method that aborts pending invocations.
.cancel()
Cancels any pending invocation. Calls already in flight are unaffected.
A function decorated with a
.cancel()method that aborts pending invocations.