using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BITKit { /// /// 执行接口,发布者下发任务 /// /// public interface IExcutor { bool TryExcute(T value); } /// /// 发布接口,向发布者下发任务 /// /// public interface IRequestor { /// /// 执行任务 /// /// /// bool Excute(T value); } }