Publisher
faststream.redis.asyncapi.Publisher #
Bases: LogicPublisher
A class to represent a Redis publisher.
calls class-attribute
instance-attribute
#
include_in_schema class-attribute
instance-attribute
#
mock class-attribute
instance-attribute
#
get_payloads #
Source code in faststream/broker/publisher.py
publish async
#
publish(
message: SendableMessage,
channel: Union[str, PubSub, None] = None,
reply_to: str = "",
headers: Optional[AnyDict] = None,
correlation_id: Optional[str] = None,
*,
list: Union[str, ListSub, None] = None,
stream: Union[str, StreamSub, None] = None,
rpc: bool = False,
rpc_timeout: Optional[float] = 30.0,
raise_timeout: bool = False
) -> Optional[DecodedMessage]