@heroku/applink / InvocationEvent
Defined in: src/index.ts:125
An InvocationEvent is representative of the data associated with the occurrence of an event, and supporting metadata about the source of that occurrence.
A
readonly data: A;Defined in: src/index.ts:126
The payload of the event
readonly optional dataContentType: string;Defined in: src/index.ts:127
The media type of the event payload that is accessible in data
readonly id: string;Defined in: src/index.ts:128
The platform event occurrence id for event invocation.
readonly optional time: string;Defined in: src/index.ts:129
The timestamp of when the occurrence happened. If the time of the occurrence cannot be determined then this attribute may be set to some other time (such as the current time), however all producers for the same source must be consistent in this respect. In other words, either they all use the actual time of the occurrence or they all use the same algorithm to determine the value used.