Version: v1
Class: Message
#
Constructors#
constructor• new Message()
#
Properties#
data• data: Buffer
#
Defined in#
gCloudMessage• Optional
gCloudMessage: Message
#
Defined in#
Methods#
ackâ–¸ ack(): void
#
Returnsvoid
#
Defined in#
modAckâ–¸ modAck(deadline
): void
#
ParametersName | Type |
---|---|
deadline | number |
#
Returnsvoid
#
Defined in#
nackâ–¸ nack(): void
#
Returnsvoid
#
Defined in#
fromâ–¸ Static
from(message
): Message
Builds a new message object in the synchronous driver. Used by the eventBus.
#
ParametersName | Type | Description |
---|---|---|
message | any | any message that can be buffered |
#
Returns#
Defined in#
fromGCloudâ–¸ Static
fromGCloud(message
): Message
Builds a message for Google Cloud Driver
#
ParametersName | Type | Description |
---|---|---|
message | Message | A valid Google Cloud message |