of

fun of(delay: Delay): DelayPolicy

Construct a DelayPolicy from a coarse-grained Delay level. Delegates to of(Long): Delay.UNSET (millis = -1) maps to Inherit; all non-negative values produce Fixed.


fun of(millis: Long): DelayPolicy

Constructs a DelayPolicy from an explicit millisecond value. Negative values (including the @Action default of -1) map to Inherit — "not set, inherit from the enclosing scope". Non-negative values produce Fixed.