Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Commit

Permalink
Fixed the lambda in the sample code. (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: Krzysztof Kielce <[email protected]>
Co-authored-by: Daniel Wertheim <[email protected]>
  • Loading branch information
3 people authored Sep 17, 2020
1 parent 77f61ad commit fa9616b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ var client = new NatsClient(cnInfo);

await _client.ConnectAsync();

await client.SubAsync("getTemp", stream.Subscribe(msg => {
await client.SubAsync("getTemp", stream => stream.Subscribe(msg => {
client.Pub(msg.ReplyTo, getTemp(msg.GetPayloadAsString()));
}));
```
Expand Down

0 comments on commit fa9616b

Please sign in to comment.