cancel

fun cancel()

Discards the pending submission, if any.

An execution whose window already elapsed is not affected, and the debouncer keeps accepting new submissions.

Cancellation: this function does not suspend and performs no cancellation checks.