JS API Reference
Module: shared/utils/timeout
Table of contents
Functions
Functions
withTimeout
▸ withTimeout<T
>(promise
, timeoutMs
): Promise
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
promise | Promise <T > |
timeoutMs | number |
Returns
Promise
<T
>
Defined in
Was this helpful?