pub async fn delay_response(milliseconds: u32)
Sleep milliseconds ms on the async runtime.
milliseconds
Used by respond.delay_response_milliseconds to simulate slow backends when a mock needs to exercise client timeout behaviour.
respond.delay_response_milliseconds