Simple Throttle class. Call $throttle->delay() to wait the
minimum number of microseconds specified in the constructor.

Default constructor does not result in any delay.

public __construct(?int $microseconds = 0)

There are 1 million microsecond in a second.

public delay() : void

Wait at least the number of microseconds since the last
delay call.

private $lastAccessed
private $microseconds
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only