Class: WorkflowTopicHandle<T>
Experimental
Workflow-side handle for publishing to a single topic.
Constructed via WorkflowStream.topic. Has no subscribe:
workflows do not consume their own stream.
Type Parameters
T
T = unknown
Properties
name
readonlyname:string
Experimental
Methods
publish()
publish(
value):void
Experimental
Append value to the workflow stream on this topic.
Parameters
value
IPayload | T
Value to publish. Goes through the workflow's default payload converter. A pre-built Payload bypasses conversion, regardless of the handle's bound type.
Returns
void