There was an error while loading. Please reload this page.
2 parents e28aed3 + d77e826 commit 9f6d819Copy full SHA for 9f6d819
README.md
@@ -68,7 +68,7 @@ for {
68
// or we can use a timeout context
69
for {
70
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
71
-ev, err := s.GetEvent(ctx)
+ev, err := streamer.GetEvent(ctx)
72
cancel()
73
74
if err == context.DeadlineExceeded {
0 commit comments