OpenStream opens the server-sent events stream of the subscription with the given ID. The caller must close the returned body. The stream is live only: events published while no stream is open are not delivered.
(ctx context.Context, id string)
| 66 | // OpenStream opens the server-sent events stream of the subscription with the given ID. The caller must close |
| 67 | // the returned body. The stream is live only: events published while no stream is open are not delivered. |
| 68 | OpenStream(ctx context.Context, id string) (io.ReadCloser, error) |
| 69 | } |
| 70 | |
| 71 | type eventClient struct { |
no outgoing calls