CreateOrUpdateStream creates a stream with the given config. If stream already exists, it will be updated (if possible).
(ctx context.Context, cfg StreamConfig)
| 142 | // CreateOrUpdateStream creates a stream with the given config. If stream |
| 143 | // already exists, it will be updated (if possible). |
| 144 | CreateOrUpdateStream(ctx context.Context, cfg StreamConfig) (Stream, error) |
| 145 | |
| 146 | // Stream fetches [StreamInfo] and returns a [Stream] interface for a given stream name. |
| 147 | // If stream does not exist, ErrStreamNotFound is returned. |
no outgoing calls