apollo-state-sync - API Reference (Users)
Preparing search index...
src
getShouldPersist
Function getShouldPersist
getShouldPersist
<
OperationName
extends
"write"
|
"evict"
|
"modify"
|
"gc"
|
"reset"
|
"retain"
|
"release"
,
>
(
operationName
:
OperationName
,
args
:
Parameters
<
InMemoryCacheSyncedType
[
OperationName
]
>
,
config
?:
Pick
<
GlobalConfig
,
"skipPersistFilter"
>
,
)
:
boolean
Type Parameters
OperationName
extends
"write"
|
"evict"
|
"modify"
|
"gc"
|
"reset"
|
"retain"
|
"release"
Parameters
operationName
:
OperationName
args
:
Parameters
<
InMemoryCacheSyncedType
[
OperationName
]
>
Optional
config
:
Pick
<
GlobalConfig
,
"skipPersistFilter"
>
Returns
boolean
whether the apollo state should be persisted as part of the cache operation.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
apollo-state-sync - API Reference (Users)
Loading...