CompletionMessage interface
A hub message representing the result of an invocation.
- Extends
error | The error produced by the invocation, if any. Either error or result must be defined, but not both. |
headers | A MessageHeaders dictionary containing headers attached to the message. |
invocation |
The invocation ID. |
result | The result produced by the invocation, if any. Either error or result must be defined, but not both. |
type |
The error produced by the invocation, if any. Either error or result must be defined, but not both.
TypeScript
error?: string
Property Value
string
A MessageHeaders dictionary containing headers attached to the message.
TypeScript
headers?: MessageHeaders
Property Value
The invocation ID.
TypeScript
invocationId: string
Property Value
string