Options
All
  • Public
  • Public/Protected
  • All
Menu

PublishedMessage is the data interface that SubscriberHandlers expect.

Hierarchy

Index

Properties

Optional fromSubscriber

fromSubscriber?: boolean

Indicates that the message is from a subscriber and not the publisher or and endpoint.

message

message: any

The message published.

Optional sourceTopic

sourceTopic?: Topic

An optional topic that indicates the original publish call's intended topic. Can be used to differentiate a publish directly intended for a topic or as part of a glob match.

topic

topic: Topic

The topic that the subscription received the message from.

Generated using TypeDoc