RedisFastProducer
faststream.redis.publisher.producer.RedisFastProducer #
Bases: ProducerProto
A class to represent a Redis producer.
Source code in faststream/redis/publisher/producer.py
publish async
#
publish(
message,
*,
correlation_id,
channel=None,
list=None,
stream=None,
maxlen=None,
headers=None,
reply_to="",
rpc=False,
rpc_timeout=30.0,
raise_timeout=False,
)
Source code in faststream/redis/publisher/producer.py
request async
#
request(
message,
*,
correlation_id,
channel=None,
list=None,
stream=None,
maxlen=None,
headers=None,
timeout=30.0,
)