Class: EditorContext
Represents the base workflow context for the SDK workflows This should be extended by all the workflow contexts like EditorContext, GenStudioContext, etc.
Extends
WorkflowContext<ActionContext<DesignConfig>>
Constructors
Constructor
new EditorContext(context): EditorContext;
Parameters
Parameter
Type
contextActionContextReturns
EditorContext
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