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)
| 55 | // OpenStream opens the server-sent events stream of the subscription with the given ID. The caller must close |
| 56 | // the returned body. The stream is live only: events published while no stream is open are not delivered. |
| 57 | OpenStream(ctx context.Context, id string) (io.ReadCloser, error) |
| 58 | } |
| 59 | |
| 60 | type eventClient struct { |
no outgoing calls