Interface: TopicPublishInput\<TBody\>
What a caller supplies to PostgresTopicBus.broadcast.
Type Parameters
Section titled “Type Parameters”TBody extends SerializableValue = SerializableValue
Properties
Section titled “Properties”body:
TBody
The payload. Must satisfy object.isSerializableValue.
metadata?
Section titled “metadata?”
optionalmetadata?:TopicMetadata
Context to attach. Wins over any automatic key of the same name, so a caller
can override a machine default (project) or add its own (traceId).
scope?
Section titled “scope?”
optionalscope?:TopicPersistenceScope
optionalttl?:false|DurationInput
type:
string
Event name, e.g. chat.message. Must be non-blank.