refactor: own active workflow executions

This commit is contained in:
jxxghp
2026-08-24 16:26:39 +08:00
parent 41b1460b60
commit ffe6da2135
10 changed files with 421 additions and 31 deletions
+3 -3
View File
@@ -13,8 +13,8 @@ def init_workflow():
WorkFlowManager()
def stop_workflow():
def stop_workflow() -> bool:
"""
停止工作流
停止工作流并返回全部活动执行是否收敛。
"""
WorkFlowManager().stop()
return WorkFlowManager().stop()