Skip to content

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 ​

NameTypeDefined in
correlationId?Uuidpackages/bus-messages/src/message-attributes.ts:57

Type Parameters ​

Type ParameterDefault type
AttributesType extends MessageAttributeMapMessageAttributeMap
StickyAttributesType extends MessageAttributeMapMessageAttributeMap

Released under the MIT License.