Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sn0wyQ authored Jan 12, 2023
1 parent 880590b commit 2727ac4
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 @@ -30,7 +30,7 @@ As you have a client you can use it to consume a stream. There are some differen
### Streaming events
The second method is more suitable for long-running processes that need to consume a stream in a loop.
```go
stream := proximaclient.StreamEvents(
stream := client.StreamEvents(
ctx, // stream context. When it is cancelled the stream will be closed
"proxima.eth-main.blocks.1_0", // the name of the stream
proximaclient.ZeroOffset(),
Expand Down

0 comments on commit 2727ac4

Please sign in to comment.