Workflow.commit()
The .commit() method finalizes the workflow and returns the final result.
Usage exampleDirect link to Usage example
workflow.then(step1).commit()
ReturnsDirect link to Returns
workflow:
Workflow
The workflow instance for method chaining