Skip to main content

Class: ExecuteMultiOperationResponse

IMPORTANT: For [StartWorkflow, UpdateWorkflow] combination ("Update-with-Start") when both

  1. the workflow update for the requested update ID has already completed, and
  2. the workflow for the requested workflow ID has already been closed, then you'll receive
  • an update response containing the update's outcome, and
  • a start response with a status field that reflects the workflow's current state.

Properties​

responses​

responses: $Properties[]

ExecuteMultiOperationResponse responses.

Methods​

toJSON()​

toJSON(): object

Converts this ExecuteMultiOperationResponse to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): ExecuteMultiOperationResponse & $Shape

Creates a new ExecuteMultiOperationResponse instance using the specified properties.

Parameters​
properties?​

$Shape

Properties to set

Returns​

ExecuteMultiOperationResponse & $Shape

ExecuteMultiOperationResponse instance

Call Signature​

static create(properties?): ExecuteMultiOperationResponse

Creates a new ExecuteMultiOperationResponse instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ExecuteMultiOperationResponse

ExecuteMultiOperationResponse instance


decode()​

static decode(reader, length?): ExecuteMultiOperationResponse & $Shape

Decodes an ExecuteMultiOperationResponse message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

ExecuteMultiOperationResponse & $Shape

ExecuteMultiOperationResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): ExecuteMultiOperationResponse & $Shape

Decodes an ExecuteMultiOperationResponse message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

ExecuteMultiOperationResponse & $Shape

ExecuteMultiOperationResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified ExecuteMultiOperationResponse message. Does not implicitly temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.verify|verify messages.

Parameters​

message​

$Properties

ExecuteMultiOperationResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified ExecuteMultiOperationResponse message, length delimited. Does not implicitly temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.verify|verify messages.

Parameters​

message​

$Properties

ExecuteMultiOperationResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): ExecuteMultiOperationResponse

Creates an ExecuteMultiOperationResponse message from a plain object. Also converts values to their respective internal types.

Parameters​

object​

Plain object

Returns​

ExecuteMultiOperationResponse

ExecuteMultiOperationResponse


toObject()​

static toObject(message, options?): object

Creates a plain object from an ExecuteMultiOperationResponse message. Also converts values to other types if specified.

Parameters​

message​

ExecuteMultiOperationResponse

ExecuteMultiOperationResponse

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object