Skip to main content

check_delay

Function check_delay 

Source
fn check_delay(delay: Duration, limits: Limits, stable: bool) -> Result<u64>
Expand description

Returns the delay in milliseconds once it is positive and within limits.

An over-limit delay is refused with the stable or the unstable error code, as the request’s path calls for.