Skip to main content

remember

Function remember 

Source
pub fn remember<M>(
    mem: Arc<M>,
) -> (Tool, Arc<dyn Fn(String) -> Pin<Box<dyn Future<Output = String> + Send>> + Send + Sync>)
where M: Memory + 'static,
Expand description

Build the remember tool + handler for the given memory backend.