using Serein.Library.Utils; using System; using System.Threading.Tasks; namespace Serein.Library.Api { /// /// 流程上下文,包含运行环境接口,可以通过注册环境事件或调用环境接口,实现在流程运行时更改流程行为。 /// public interface IDynamicContext { /// /// 运行环境,包含IOC容器。 /// IFlowEnvironment Env { get; } /// /// 定时循环触发 /// /// /// /// /// // Task CreateTimingTask(Action callback, int time = 100, int count = -1); } }