IAsyncGroup.cs 280 B

123456789101112
  1. namespace XGame.Framework.Asyncs
  2. {
  3. /// <summary>
  4. /// 包含一组异步任务
  5. /// 子异步全部完成时,Group完成
  6. /// </summary>
  7. public interface IAsyncGroup : IAsync
  8. {
  9. void AddAsync(IAsync ele);
  10. void RemoveAsync(IAsync ele);
  11. }
  12. }