publish(message, /, *, correlation_id=None)
Publishes a message asynchronously.
Source code in faststream/broker/publisher/proto.py
| @abstractmethod
async def publish(
self,
message: "SendableMessage",
/,
*,
correlation_id: Optional[str] = None,
) -> Optional[Any]:
"""Publishes a message asynchronously."""
...
|