Back to documentation
Preparing search index...
The search index is not available
API Reference
API Reference
index
MemorySaver
Class MemorySaver
Hierarchy (
view full
)
BaseCheckpointSaver
MemorySaver
Index
Constructors
constructor
Properties
serde
storage
Methods
get
get
Tuple
list
put
Constructors
constructor
new
Memory
Saver
(
serde
?
)
:
MemorySaver
Parameters
Optional
serde
:
SerializerProtocol
<
unknown
>
Returns
MemorySaver
Properties
serde
serde
:
SerializerProtocol
<
unknown
>
storage
storage
:
Record
<
string
,
Record
<
string
,
[
string
,
string
]
>
>
Methods
get
get
(
config
)
:
Promise
<
undefined
|
Checkpoint
<
string
,
string
>
>
Parameters
config
:
RunnableConfig
Returns
Promise
<
undefined
|
Checkpoint
<
string
,
string
>
>
get
Tuple
get
Tuple
(
config
)
:
Promise
<
undefined
|
CheckpointTuple
>
Parameters
config
:
RunnableConfig
Returns
Promise
<
undefined
|
CheckpointTuple
>
list
list
(
config
,
limit
?
,
before
?
)
:
AsyncGenerator
<
CheckpointTuple
,
any
,
unknown
>
Parameters
config
:
RunnableConfig
Optional
limit
:
number
Optional
before
:
RunnableConfig
Returns
AsyncGenerator
<
CheckpointTuple
,
any
,
unknown
>
put
put
(
config
,
checkpoint
,
metadata
)
:
Promise
<
RunnableConfig
>
Parameters
config
:
RunnableConfig
checkpoint
:
Checkpoint
<
string
,
string
>
metadata
:
CheckpointMetadata
Returns
Promise
<
RunnableConfig
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
serde
storage
get
get
Tuple
list
put
API Reference
Loading...