diff --git a/README.md b/README.md index 053898d1c..44bdfed0e 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ builder.Services.AddFlowtideStream(b => { b.AddPlan(plan) .AddReadWriteFactory(factory) - .WithStateOptions(() => new StateManagerOptions() + .WithStateOptions(new StateManagerOptions() { // This is non persistent storage, use FasterKV persistence storage instead if you want persistent storage PersistentStorage = new FileCachePersistentStorage(new FlowtideDotNet.Storage.FileCacheOptions() @@ -168,4 +168,4 @@ var app = builder.Build(); app.UseFlowtideUI("/stream"); app.Run(); -``` \ No newline at end of file +```