clock

fun <T> MutableExecutionOptions<T>.clock(clock: () -> Long): T

Sets the clock used to:

This is useful for testing purposes only.

Parameters

clock

returns the current time in milliseconds since the epoch.