Skip to main content

Workflow.commit()

.commit() 方法完成工作流程并返回最终结果。

🌐 The .commit() method finalizes the workflow and returns the final result.

使用示例
Direct link to 使用示例

🌐 Usage example

workflow.then(step1).commit();

返回
Direct link to 返回

🌐 Returns

workflow:

Workflow
The workflow instance for method chaining

🌐 Related