API reference / @node-ts/bus-messages / MessageAttributesInput
Type Alias: MessageAttributesInput<AttributesType, StickyAttributesType>
ts
type MessageAttributesInput<AttributesType, StickyAttributesType> = object & object extends AttributesType ? object : object & object extends StickyAttributesType ? object : object;Defined in: packages/bus-messages/src/message-attributes.ts:54
The fields given to messageAttributes(). attributes and stickyAttributes can be left out when every one of their keys is optional, and are required otherwise.
Type Declaration
| Name | Type | Defined in |
|---|---|---|
correlationId? | Uuid | packages/bus-messages/src/message-attributes.ts:57 |
Type Parameters
| Type Parameter | Default type |
|---|---|
AttributesType extends MessageAttributeMap | MessageAttributeMap |
StickyAttributesType extends MessageAttributeMap | MessageAttributeMap |