Skip to main content

new

Method
This is a method of the Memory class in the memory module.
Create a new memory with the given adapter

Signature

def new(adapter: impl MemoryAdapter + 'static, config: MemoryConfig) -> Self

Parameters

adapter
impl MemoryAdapter + 'static
required
No description available.
config
MemoryConfig
required
No description available.

Returns

Returns
Self
The result of the operation.