@adcp/sdk API Reference - v14.3.0
Documentation
GitHub
npm
Preparing search index...
ProductCache
Class ProductCache
Cache response scope and both feed tokens together. Account overlays never share entries.
Index
Constructors
constructor
Methods
read
conditional
Params
write
clear
Constructors
constructor
new
ProductCache
(
options
?:
ProductCacheOptions
)
:
ProductCache
Parameters
options
:
ProductCacheOptions
= {}
Returns
ProductCache
Methods
read
read
<
T
>
(
scope
:
string
,
params
:
Record
<
string
,
unknown
>
,
allowExpired
?:
boolean
,
)
:
TaskResult
<
T
>
|
undefined
Type Parameters
T
Parameters
scope
:
string
params
:
Record
<
string
,
unknown
>
allowExpired
:
boolean
= false
Returns
TaskResult
<
T
>
|
undefined
conditional
Params
conditionalParams
(
scope
:
string
,
params
:
Record
<
string
,
unknown
>
,
)
:
Record
<
string
,
unknown
>
Parameters
scope
:
string
params
:
Record
<
string
,
unknown
>
Returns
Record
<
string
,
unknown
>
write
write
<
T
>
(
scope
:
string
,
params
:
Record
<
string
,
unknown
>
,
result
:
TaskResult
<
T
>
,
conditionalSnapshot
?:
TaskResult
<
T
>
,
)
:
TaskResult
<
T
>
Type Parameters
T
Parameters
scope
:
string
params
:
Record
<
string
,
unknown
>
result
:
TaskResult
<
T
>
Optional
conditionalSnapshot
:
TaskResult
<
T
>
Returns
TaskResult
<
T
>
clear
clear
()
:
void
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
read
conditional
Params
write
clear
Documentation
GitHub
npm
@adcp/sdk API Reference - v14.3.0
Loading...
Cache response scope and both feed tokens together. Account overlays never share entries.