Clock
in
Time source for rate limiting, retries and timing. Replace it in tests to avoid real waits.
Table of Contents
Methods
Methods
now()
public
now() : float
Return values
floatsleep()
public
sleep(float $seconds) : void
Parameters
- $seconds : float