private static void GetStore(out IStateReader reader, out IStateWriter writer) { var store = new InMemoryStateStore(Guid.NewGuid().ToString()); reader = new InMemoryStateReader(store); writer = new InMemoryStateWriter(store, CheckpointKind.Full); }
public void FullCheckpoint() { using var writer = new InMemoryStateWriter(_stateStore, CheckpointKind.Full); _queryEngine.CheckpointAsync(writer).Wait(); }