thesportsdb-client
Preparing search index...
Clock
Interface Clock
Time source for rate limiting and retries. Replace it in tests to avoid real waits.
interface
Clock
{
now
()
:
number
;
sleep
(
ms
:
number
)
:
Promise
<
void
>
;
}
Index
Methods
now
sleep
Methods
now
now
()
:
number
Returns
number
sleep
sleep
(
ms
:
number
)
:
Promise
<
void
>
Parameters
ms
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
now
sleep
thesportsdb-client
Loading...
Time source for rate limiting and retries. Replace it in tests to avoid real waits.