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