using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Serein.Library.Api
{
///
/// 脚本代码中关于流程运行的API
///
public interface IScriptFlowApi
{
///
/// 当前流程运行环境
///
IFlowEnvironment Env { get; }
///
/// 对应的节点
///
IFlowNode NodeModel { get; }
///
/// 根据索引从入参数据获取数据
///
///
///
///
//object GetArgData(IDynamicContext context, int index);
///
/// 获取流程当前传递的数据
///
///
///
/// FlowResult GetFlowData(IDynamicContext context);
///
/// 获取全局数据
///
///
///
object GetGlobalData(string keyName);
///
/// 立即调用某个节点并获取其返回值
///
///
///
Task