github
readme
source
examples
distribution
Preparing search index...
The search index is not available
@oazmi/kitchensink - v0.8.4
@oazmi/kitchensink
lambda
memorizeLRU
Function memorizeLRU
memorize function and limit the caching memory used for it, through the use of LRU-scheme
memorizeLRU
<
K
,
V
>
(
min_capacity
,
max_capacity
,
fn
)
:
(
(
arg
:
K
)
=>
V
)
Type Parameters
K
V
Parameters
min_capacity
:
number
max_capacity
:
number
fn
:
(
(
arg
:
K
)
=>
V
)
(
arg
)
:
V
Parameters
arg
:
K
Returns
V
Returns
(
(
arg
:
K
)
=>
V
)
(
arg
)
:
V
Parameters
arg
:
K
Returns
V
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
github
readme
source
examples
distribution
@oazmi/kitchensink - v0.8.4
Loading...
memorize function and limit the caching memory used for it, through the use of LRU-scheme