StreamBuilder
faststream.nats.helpers.StreamBuilder #
A class to build streams.
Initialize the stream builder.
Source code in faststream/nats/helpers.py
stream #
stream(name: Union[str, JStream, None], *args: Any, declare: bool = True, **kwargs: Any) -> Optional[JStream]
Get a stream.
PARAMETER | DESCRIPTION |
---|---|
*args | The arguments. TYPE: |
name | The stream name. |
declare | Whether to declare the stream. TYPE: |
**kwargs | The keyword arguments. TYPE: |