modify

fun modify(f: suspend (Output, Duration) -> Duration): Schedule<Input, Output>

Changes the delay of a resulting Decision based on the Output and the produced delay.