output
The action’s output.
Declaration
var output: Any? { get set }Return Value
The receiving action’s output, or nil if called before the action is run.
Discussion
nil if called before the action is run.
This method is used in conjunction with the AMWorkflow class, which allows access to the actions in a workflow. Within a workflow, for example, you might iteratively inspect the output of each action. Or, on completion of a workflow, you might examine the output of the last action, to determine the output of the workflow.
This parameter can also be used when running an action asynchronously. Call setOutput to specify the output the action produces.