A CancelToken is an arbitrary marker object, passed in with each API call that creates a wakeup or repeater, and passed to cancel() to cancel them all. Multiple wakeups can rely on the same CancelToken so they can be cancelled collectively.
A CancelToken is an arbitrary marker object, passed in with each API call that creates a wakeup or repeater, and passed to cancel() to cancel them all. Multiple wakeups can rely on the same CancelToken so they can be cancelled collectively.