A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
500B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Svelto.Tasks;
  7. namespace TechbloxModdingAPI.Tasks
  8. {
  9. /// <summary>
  10. /// Interface for asynchronous tasks
  11. /// </summary>
  12. public interface ISchedulable
  13. {
  14. /// <summary>
  15. /// Asynchronous task runner
  16. /// </summary>
  17. /// <returns>A yield-ed Svelto.Tasks-compatible object</returns>
  18. IEnumerator<TaskContract> Run();
  19. }
  20. }