Header menu logo Nao

PersistentGraphMemory Type

Event-sourced IGraphMemory. Query/traversal logic is delegated to an in-memory instance rebuilt by replaying the event log. Relations produced by ExtractRelationsAsync are persisted as concrete AddRelation events so reloads never re-run a (possibly external) extractor.

Constructors

Constructor Description

PersistentGraphMemory(store, ?relationExtractor)

Full Usage: PersistentGraphMemory(store, ?relationExtractor)

Parameters:
Returns: PersistentGraphMemory
store : IEventStore
?relationExtractor : string -> Task<GraphRelation list>
Returns: PersistentGraphMemory

Type something to start searching.