Class: ActionWorkflowContext<T>
Base context for structured messages addressed to a running action.
Extends
Extended by
Type Parameters
Type Parameter
Constructors
Constructor
new ActionWorkflowContext<T>(context): ActionWorkflowContext<T>;
Parameters
Parameter
Type
contextTReturns
ActionWorkflowContext<T>
Inherited from
Properties
Property
Modifier
Type
Inherited from
Methods
sendCustomMessage()
sendCustomMessage(data): void;
Sends a message to the SDK Agent to update the state of current running workflow.
Parameters
Parameter
Type
Description
dataunknownincoming data coming from client to update the workflow. Note - Type of data is limited to what postMessage supports.
Returns
void