Official LivePay API Docs
GitHub Repository
Preparing search index...
The search index is not available
LivePay Node SDK API Reference - v1.0.2
LivePay Node SDK API Reference
DeduplicationCache
Class DeduplicationCache
Index
Constructors
constructor
Properties
cache
max
Size
ttl
Ms
Methods
cleanup
clear
is
Duplicate
mark
Constructors
constructor
new
Deduplication
Cache
(
maxSize
?
,
ttlMs
?
)
:
DeduplicationCache
Parameters
maxSize
:
number
= 1000
ttlMs
:
number
= ...
Returns
DeduplicationCache
Properties
Private
cache
cache
:
Map
<
string
,
number
>
= ...
Private
Readonly
max
Size
max
Size
:
number
Private
Readonly
ttl
Ms
ttl
Ms
:
number
Methods
Private
cleanup
cleanup
(
)
:
void
Returns
void
clear
clear
(
)
:
void
Returns
void
is
Duplicate
is
Duplicate
(
key
)
:
boolean
Parameters
key
:
string
Returns
boolean
mark
mark
(
key
)
:
void
Parameters
key
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
cache
max
Size
ttl
Ms
cleanup
clear
is
Duplicate
mark
LivePay Node SDK API Reference - v1.0.2
Loading...