calculate
fun calculate(input: Boolean, timestamp: ComparableTimeMark = TimeSource.Monotonic.markNow()): Boolean(source)
Applies the debouncer to the input stream.
Return
The debounced value of the input stream.
Parameters
input
The current value of the input stream.
timestamp
the current time (default: TimeSource.Monotonic.markNow())