modify

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

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