Preparing search index...
The search index is not available
Valorem React Hooks Docs - v0.0.8
Valorem React Hooks Docs
<internal>
MutationCache
Class MutationCache
Hierarchy
Subscribable
<
MutationCacheListener
>
MutationCache
Index
Constructors
constructor
Properties
config
listeners
mutation
Id
mutations
resuming
Methods
add
build
clear
find
find
All
get
All
has
Listeners
notify
on
Subscribe
on
Unsubscribe
remove
resume
Paused
Mutations
subscribe
Constructors
constructor
new
Mutation
Cache
(
config
?
)
:
MutationCache
Parameters
Optional
config
:
MutationCacheConfig
Returns
MutationCache
Properties
config
config
:
MutationCacheConfig
Protected
listeners
listeners
:
Set
<
{
listener
:
MutationCacheListener
;
}
>
Type declaration
listener
:
MutationCacheListener
Private
mutation
Id
mutation
Id
:
any
Private
mutations
mutations
:
any
Private
resuming
resuming
:
any
Methods
add
add
(
mutation
)
:
void
Parameters
mutation
:
Mutation
<
any
,
any
,
any
,
any
>
Returns
void
build
build
<
TData
,
TError
,
TVariables
,
TContext
>
(
client
,
options
,
state
?
)
:
Mutation
<
TData
,
TError
,
TVariables
,
TContext
>
Type Parameters
TData
TError
TVariables
TContext
Parameters
client
:
QueryClient
options
:
MutationOptions
<
TData
,
TError
,
TVariables
,
TContext
>
Optional
state
:
MutationState
<
TData
,
TError
,
TVariables
,
TContext
>
Returns
Mutation
<
TData
,
TError
,
TVariables
,
TContext
>
clear
clear
(
)
:
void
Returns
void
find
find
<
TData
,
TError
,
TVariables
,
TContext
>
(
filters
)
:
undefined
|
Mutation
<
TData
,
TError
,
TVariables
,
TContext
>
Type Parameters
TData
=
unknown
TError
=
unknown
TVariables
=
any
TContext
=
unknown
Parameters
filters
:
MutationFilters
Returns
undefined
|
Mutation
<
TData
,
TError
,
TVariables
,
TContext
>
find
All
find
All
(
filters
)
:
Mutation
<
unknown
,
unknown
,
void
,
unknown
>
[]
Parameters
filters
:
MutationFilters
Returns
Mutation
<
unknown
,
unknown
,
void
,
unknown
>
[]
get
All
get
All
(
)
:
Mutation
<
unknown
,
unknown
,
void
,
unknown
>
[]
Returns
Mutation
<
unknown
,
unknown
,
void
,
unknown
>
[]
has
Listeners
has
Listeners
(
)
:
boolean
Returns
boolean
notify
notify
(
event
)
:
void
Parameters
event
:
MutationCacheNotifyEvent
Returns
void
Protected
on
Subscribe
on
Subscribe
(
)
:
void
Returns
void
Protected
on
Unsubscribe
on
Unsubscribe
(
)
:
void
Returns
void
remove
remove
(
mutation
)
:
void
Parameters
mutation
:
Mutation
<
any
,
any
,
any
,
any
>
Returns
void
resume
Paused
Mutations
resume
Paused
Mutations
(
)
:
Promise
<
unknown
>
Returns
Promise
<
unknown
>
subscribe
subscribe
(
listener
)
:
(
(
)
=>
void
)
Parameters
listener
:
MutationCacheListener
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
config
listeners
mutation
Id
mutations
resuming
add
build
clear
find
find
All
get
All
has
Listeners
notify
on
Subscribe
on
Unsubscribe
remove
resume
Paused
Mutations
subscribe
Valorem React Hooks Docs - v0.0.8
<internal>
LogLevel
GRPCProviderProps
SIWEProps
StreamResponseMessage
UseRFQConfig
UseSoftQuoteConfig
UseSpotPriceConfig
UseSpotPriceReturn
ValoremProviderProps
MethodServerStreamingDescriptor
MethodUnaryDescriptor
UseRFQReturn
UseSoftQuoteReturn
Auth
Fees
RFQ
Spot
authenticate
geofenced
getFeeStructure
Loading...
Generated using
TypeDoc