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