Publisher
faststream.nats.asyncapi.Publisher #
Bases: LogicPublisher
calls class-attribute
instance-attribute
#
headers class-attribute
instance-attribute
#
mock class-attribute
instance-attribute
#
get_payloads #
Source code in faststream/broker/publisher.py
publish async
#
publish(
message: SendableMessage = "",
reply_to: str = "",
correlation_id: Optional[str] = None,
headers: Optional[Dict[str, str]] = None,
**producer_kwargs: Any
) -> Optional[DecodedMessage]
Source code in faststream/nats/publisher.py
reset_test #
schema #
Source code in faststream/nats/asyncapi.py
Last update: 2023-11-13