Skip to main content

Class: ResolveSignalExternalWorkflow

coresdk.workflow_activation.ResolveSignalExternalWorkflow

Represents a ResolveSignalExternalWorkflow.

Implements#

Constructors#

constructor#

new ResolveSignalExternalWorkflow(properties?)

Constructs a new ResolveSignalExternalWorkflow.

Parameters#

NameType
properties?IResolveSignalExternalWorkflow

Properties#

failure#

Optional failure: null | IFailure

type / info.

Implementation of#

IResolveSignalExternalWorkflow.failure


seq#

seq: number

command

Implementation of#

IResolveSignalExternalWorkflow.seq

Methods#

toJSON#

toJSON(): Object

Converts this ResolveSignalExternalWorkflow to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ResolveSignalExternalWorkflow

Decodes a ResolveSignalExternalWorkflow message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

ResolveSignalExternalWorkflow

ResolveSignalExternalWorkflow


decodeDelimited#

Static decodeDelimited(reader): ResolveSignalExternalWorkflow

Decodes a ResolveSignalExternalWorkflow message from the specified reader or buffer, length delimited.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

ResolveSignalExternalWorkflow

ResolveSignalExternalWorkflow


encode#

Static encode(message, writer?): Writer

Encodes the specified ResolveSignalExternalWorkflow message. Does not implicitly {@link coresdk.workflow_activation.ResolveSignalExternalWorkflow.verify|verify} messages.

Parameters#

NameTypeDescription
messageIResolveSignalExternalWorkflowResolveSignalExternalWorkflow message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified ResolveSignalExternalWorkflow message, length delimited. Does not implicitly {@link coresdk.workflow_activation.ResolveSignalExternalWorkflow.verify|verify} messages.

Parameters#

NameTypeDescription
messageIResolveSignalExternalWorkflowResolveSignalExternalWorkflow message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ResolveSignalExternalWorkflow

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ResolveSignalExternalWorkflow

ResolveSignalExternalWorkflow


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageResolveSignalExternalWorkflowResolveSignalExternalWorkflow
options?IConversionOptions-

Returns#

Object

Plain object