InvokeMessage interface

Invoke message

Extends

Properties

data

Payload data.

dataType

Data type of the payload.

event

The event name when targeting upstream events.

invocationId

The invocation id

kind

Message type

target

The invocation target type. Currently, only upstream events are supported.

Property Details

data

Payload data.

data?: JSONTypes | ArrayBuffer

Property Value

JSONTypes | ArrayBuffer

dataType

Data type of the payload.

dataType?: WebPubSubDataType

Property Value

event

The event name when targeting upstream events.

event?: string

Property Value

string

invocationId

The invocation id

invocationId: string

Property Value

string

kind

Message type

kind: "invoke"

Property Value

"invoke"

target

The invocation target type. Currently, only upstream events are supported.

target?: "event"

Property Value

"event"