Skip to content

Publisher

Publisher

Bases: Broker

Abstract implementation of a publisher for a broker.

A publisher allows to publish events to a data stream.

publish_event(event) abstractmethod async

Publish an event to a connected data stream.

PARAMETER DESCRIPTION
event

The event to be published.

TYPE: Dict[str, Any]

RETURNS DESCRIPTION
None