mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 08:10:47 +08:00
流程返回值改为FlowResult,记录节点信息、上下文信息,为以后的流程调用回溯做准备
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Serein.Workbench.Node.ViewModel
|
||||
{
|
||||
var context = new DynamicContext(NodeModel.Env);
|
||||
var cts = new CancellationTokenSource();
|
||||
await NodeModel.ExecutingAsync(context, cts.Token);
|
||||
var result = await NodeModel.ExecutingAsync(context, cts.Token);
|
||||
cts?.Dispose();
|
||||
if (context.NextOrientation == ConnectionInvokeType.IsSucceed
|
||||
&& NodeModel.Adapter.GetUserControl() is UserControl userControl)
|
||||
|
||||
Reference in New Issue
Block a user