Skip to content

Commit

Permalink
docs(csharp-connector): minor update of README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
VonDerBeck committed Mar 14, 2024
1 parent 5dbda77 commit e134e7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion connector-csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ Lastly, it is also possible to use environment variables:
```
ConfigureServices((hostContext, services) => {
services.AddZeebeRedis()
.AddSingleton<ZeebeRedisListener>();
.AddSingleton<ZeebeRedisListener>()
.AddHostedService(p => p.GetRequiredService<ZeebeRedisListener>());
})
```

Expand Down

0 comments on commit e134e7f

Please sign in to comment.