pub fn random<Effect, Event>(
min: usize,
max: usize,
) -> RequestBuilder<Effect, Event, impl Future<Output = DelayOutput>>
Expand description
Request a delay for a random duration between min
and max
milliseconds.
ยงPanics
- will panic if
min
is greater thanmax
. - will panic if the shell responds with the incorrect
DelayOutput
variant.