linear

fun <A> linear(base: Double): Schedule<A, Double>

Creates a Schedule which increases its delay linearly, by n * base where n is the number of executions.

Parameters

base

the base delay in nanoseconds


fun <A> linear(base: Duration): Schedule<A, Duration>

Creates a Schedule which increases its delay linearly, by n * base where n is the number of executions.