Search
Preparing search index...
The search index is not available
react-suspense-cache
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
SuccessOnlyPlugin
Class SuccessOnlyPlugin
Attemps to not save the failed data to cache
Hierarchy
SuccessOnlyPlugin
Implements
ResourcePlugin
<
any
>
Index
Methods
cache
Will
Update
Methods
cache
Will
Update
cache
Will
Update
(
__namedParameters
:
{
response
:
ResponseFailure
|
ResponseSuccess
<
any
>
}
)
:
Promise
<
Optional
<
ResponseData
<
any
>
>
>
Parameters
__namedParameters:
{
response
:
ResponseFailure
|
ResponseSuccess
<
any
>
}
response
:
ResponseFailure
|
ResponseSuccess
<
any
>
Returns
Promise
<
Optional
<
ResponseData
<
any
>
>
>
Globals
Storage
Access
All
Promise
Failed
Error
Cache
Fetcher
Race
Cache
First
Cache
Only
Cache
OrFetcher
Expiration
Plugin
Fetcher
First
Fetcher
Only
No
Response
Error
Stale
While
Revalidate
Success
Only
Plugin
cache
Will
Update
Cache
Did
Update
Param
Cache
Key
Will
BeUsed
Param
Cache
Will
Update
Param
Cached
Response
Will
BeUsed
Param
Config
Constant
Fetch
Did
Fail
Param
Fetch
Did
Succeed
Param
Fetcher
First
Config
Handler
Config
Resource
Resource
Handler
Resource
Handler
Param
Resource
Plugin
Response
Failure
Response
Success
Fetcher
Key
Key
Factory
Request
Will
Fetch
Param
Response
Data
Storage
Request
cache
Data
create
Resource
fetch
Data
match
Data
RESOURCE_
CACHE
STRATEGY_
CACHE
Generated using
TypeDoc
Attemps to not save the failed data to cache