mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-24 01:56:35 +08:00
流程接口节点新增了对脚本节点的支持
This commit is contained in:
@@ -31,8 +31,9 @@ namespace Serein.Workbench.Node.ViewModel
|
||||
{
|
||||
var cts = new CancellationTokenSource();
|
||||
var result = await NodeModel.ExecutingAsync(new Library.DynamicContext(nodeModel.Env), cts.Token);
|
||||
var data = result.Value;
|
||||
cts.Cancel();
|
||||
SereinEnv.WriteLine(InfoType.INFO, result?.ToString());
|
||||
SereinEnv.WriteLine(InfoType.INFO, data?.ToString());
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user