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
|
Full Usage:
PersistentGraphMemory(store, ?relationExtractor)
Parameters:
IEventStore
?relationExtractor : string -> Task<GraphRelation list>
Returns: PersistentGraphMemory
|
|
Nao