Documentation

CustomSleepMixin

Table of Contents

Methods

customSleep()  : void
Waits for a custom amount of time from either a float or an integer.

Methods

customSleep()

Waits for a custom amount of time from either a float or an integer.

protected static customSleep(float|int $delay) : void

Purposefully waits for one more millisecond on windows due to flakiness in delays between OS.

Parameters
$delay : float|int

Delay in seconds.


        
On this page

Search results