Stream fetches [StreamInfo] and returns a [Stream] interface for a given stream name. If stream does not exist, ErrStreamNotFound is returned.
(ctx context.Context, stream string)
| 146 | // Stream fetches [StreamInfo] and returns a [Stream] interface for a given stream name. |
| 147 | // If stream does not exist, ErrStreamNotFound is returned. |
| 148 | Stream(ctx context.Context, stream string) (Stream, error) |
| 149 | |
| 150 | // StreamNameBySubject returns the name of the stream that listens on the given |
| 151 | // subject. If no stream is bound to given subject, ErrStreamNotFound |
no outgoing calls