Logos DX
Preparing search index...
@logosdx/react
MutationResult
Type Alias MutationResult<T, RH>
type
MutationResult
<
T
,
RH
=
Record
<
string
,
string
>
>
=
{
called
:
boolean
;
cancel
:
()
=>
void
;
data
:
T
|
null
;
failure
:
FetchFailure
<
T
,
RH
>
|
null
;
loading
:
boolean
;
mutate
:
<
Payload
=
unknown
>
(
payload
?:
Payload
,
overrides
?:
Record
<
string
,
unknown
>
,
)
=>
Promise
<
T
|
undefined
>
;
reset
:
()
=>
void
;
}
Type Parameters
T
RH
=
Record
<
string
,
string
>
Index
Properties
called
cancel
data
failure
loading
mutate
reset
Properties
called
called
:
boolean
cancel
cancel
:
()
=>
void
data
data
:
T
|
null
failure
failure
:
FetchFailure
<
T
,
RH
>
|
null
loading
loading
:
boolean
mutate
mutate
:
<
Payload
=
unknown
>
(
payload
?:
Payload
,
overrides
?:
Record
<
string
,
unknown
>
,
)
=>
Promise
<
T
|
undefined
>
reset
reset
:
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
called
cancel
data
failure
loading
mutate
reset
Logos DX
Loading...