|
12345678910111213141516171819202122 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- using Svelto.Tasks;
-
- namespace GamecraftModdingAPI.Tasks
- {
- /// <summary>
- /// Interface for asynchronous tasks
- /// </summary>
- public interface ISchedulable
- {
- /// <summary>
- /// Asynchronous task runner
- /// </summary>
- /// <returns>A yield-ed Svelto.Tasks-compatible object</returns>
- IEnumerator<TaskContract> Run();
- }
- }
|