Class: EventGroupMarker
Represents an EventGroupMarker.
Properties
inboundEvent?
optionalinboundEvent?:$Properties|null
EventGroupMarker inboundEvent.
inboundUpdate?
optionalinboundUpdate?:$Properties|null
EventGroupMarker inboundUpdate.
label?
optionallabel?:$Properties|null
EventGroupMarker label.
variant?
optionalvariant?:"label"|"inboundEvent"|"inboundUpdate"
What this Marker represents. The variant determines whether the Marker was created explicitly by user code (label) or implicitly by the SDK on inbound signals/events (inbound_event) or update handlers (inbound_update).
Methods
toJSON()
toJSON():
object
Converts this EventGroupMarker to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):EventGroupMarker&$Shape
Creates a new EventGroupMarker instance using the specified properties.
Parameters
properties?
Properties to set
Returns
EventGroupMarker & $Shape
EventGroupMarker instance
Call Signature
staticcreate(properties?):EventGroupMarker
Creates a new EventGroupMarker instance using the specified properties.
Parameters
properties?
Properties to set
Returns
EventGroupMarker
EventGroupMarker instance
decode()
staticdecode(reader,length?):EventGroupMarker&$Shape
Decodes an EventGroupMarker 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
EventGroupMarker & $Shape
EventGroupMarker
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):EventGroupMarker&$Shape
Decodes an EventGroupMarker message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
EventGroupMarker & $Shape
EventGroupMarker
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified EventGroupMarker message. Does not implicitly temporal.api.sdk.v1.EventGroupMarker.verify|verify messages.
Parameters
message
EventGroupMarker message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified EventGroupMarker message, length delimited. Does not implicitly temporal.api.sdk.v1.EventGroupMarker.verify|verify messages.
Parameters
message
EventGroupMarker message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):EventGroupMarker
Creates an EventGroupMarker message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
EventGroupMarker
EventGroupMarker
toObject()
statictoObject(message,options?):object
Creates a plain object from an EventGroupMarker message. Also converts values to other types if specified.
Parameters
message
EventGroupMarker
EventGroupMarker
options?
IConversionOptions
Conversion options
Returns
object
Plain object