From 2727ac46b5725dd9164edb3b8e9c08fadd94c4b9 Mon Sep 17 00:00:00 2001 From: Klim Markevich <74857354+sn0wyQ@users.noreply.github.com> Date: Thu, 12 Jan 2023 13:09:35 +0100 Subject: [PATCH] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 8a977c1..c7e2db9 100644 --- a/readme.md +++ b/readme.md @@ -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(),