Preparing search index...
The search index is not available
@ceeblue/wrts-client
@ceeblue/wrts-client
utils
Util
safePromise
Function safePromise
safe
Promise
<
T
>
(
timeout
,
promise
)
:
Promise
<
unknown
>
Execute a promise in a safe way with a timeout if caller doesn't resolve it in the accurate time
Type Parameters
T
Parameters
timeout
:
number
promise
:
Promise
<
T
>
Returns
Promise
<
unknown
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@ceeblue/wrts-client
Loading...
Execute a promise in a safe way with a timeout if caller doesn't resolve it in the accurate time