mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
refactot(script) : 调整了脚本执行相关代码(但后续这个脚本会新的DSL被代替),故不再进行调整
This commit is contained in:
@@ -21,11 +21,6 @@ namespace Serein.Script
|
||||
/// </summary>
|
||||
private CancellationTokenSource _tokenSource = new CancellationTokenSource();
|
||||
|
||||
/// <summary>
|
||||
/// 是否该退出了
|
||||
/// </summary>
|
||||
public bool IsReturn => _tokenSource.IsCancellationRequested;
|
||||
|
||||
/// <summary>
|
||||
/// 是否严格检查 Null 值 (禁止使用 Null)
|
||||
/// </summary>
|
||||
@@ -34,7 +29,7 @@ namespace Serein.Script
|
||||
/// <summary>
|
||||
/// 是否需要提前返回(用于脚本中提前结束)
|
||||
/// </summary>
|
||||
public bool IsNeedReturn { get; set; }
|
||||
public bool IsReturn { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user