Preparing search index...
The search index is not available
Gurx
Gurx
handlePromise
Function handlePromise
handlePromise
<
I
,
OutSuccess
,
OnLoad
,
OutError
>
(
onLoad
:
()
=>
OnLoad
,
onSuccess
:
(
value
:
I
)
=>
OutSuccess
,
onError
:
(
error
:
unknown
)
=>
OutError
,
)
:
Operator
<
I
|
Promise
<
I
>
,
OutSuccess
|
OnLoad
|
OutError
>
Handles a promise value through the specified callbacks.
Type Parameters
I
OutSuccess
OnLoad
OutError
Parameters
onLoad
:
()
=>
OnLoad
onSuccess
:
(
value
:
I
)
=>
OutSuccess
onError
:
(
error
:
unknown
)
=>
OutError
Returns
Operator
<
I
|
Promise
<
I
>
,
OutSuccess
|
OnLoad
|
OutError
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Gurx
Loading...
Handles a promise value through the specified callbacks.