DataPublisherTrait

class DataPublisherTrait


This trait provides an interface for publishing custom events and event data payload.

Summary

Nested types

Attributes for the DataPublisher Trait.

Event emitted when custom event data is published.

Command to publish an event with custom event data.

The request payload for the PublishEventCommand command.

The response payload for the PublishEventCommand command.

Public constructors

Public constructors

DataPublisherTrait

DataPublisherTrait()