UNPKG
@maximai/maxim-js
Version:
latest (6.30.2)
6.30.2
6.30.1
6.30.0
6.29.2
6.29.1
6.29.0
6.28.0
6.27.1
6.26.0
6.25.1
6.25.0
6.24.0
6.22.0
6.21.0
6.20.1
6.20.0
6.19.1
6.19.0
6.18.0
6.17.0
6.16.0
6.15.0
6.14.0
6.13.0
6.12.0
6.11.0
6.10.0
6.9.0
6.8.0
6.7.0
6.6.0
6.5.0
6.4.0
6.3.0
6.2.2
6.2.1
6.2.0
6.1.7
6.1.5
6.1.4
6.1.3
6.1.2
6.1.1
6.1.0
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.2.8
5.2.7
5.2.6
5.2.5
5.2.4
5.2.3
5.2.2
5.2.1
5.2.0
5.1.2
5.1.1
5.1.0
5.0.3
5.0.2
5.0.1
5.0.0
4.0.2
4.0.1
4.0.0
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.1.0
2.0.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
Maxim AI JS SDK. Visit https://getmaxim.ai for more info.
@maximai/maxim-js
/
src
/
lib
/
cache
/
inMemory.d.ts
9 lines
(8 loc)
•
298 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
MaximCache
}
from
"./cache"
;
export
declare
class
MaximInMemoryCache
implements
MaximCache
{
private
cache;
getAllKeys
():
Promise
<
string
[]>;
get
(
key
:
string
):
Promise
<
string
|
null
>;
set
(
key
:
string
,
value
:
string
):
Promise
<
void
>;
delete
(
key
:
string
):
Promise
<
void
>; }