diff --git a/src/OfX.Nats/README.md b/src/OfX.Nats/README.md index efec1af..6fb282d 100644 --- a/src/OfX.Nats/README.md +++ b/src/OfX.Nats/README.md @@ -47,7 +47,7 @@ builder.Services.AddOfX(cfg => ... var app = builder.Build(); -app.StartNatsServerAsync(); // When you want to create NatsHost +app.StartNatsListeningAsync(); // When you want to create Nats Listening app.Run(); ```