Switch Execution State to Running when executing

This commit is contained in:
2023-05-31 21:40:00 +02:00
parent 16c1b5c506
commit f892db7dda
3 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,10 @@ public abstract class TrangaTask
this.language = language;
}
/// <summary>
/// Set state to running
/// </summary>
/// <param name="taskManager"></param>
public abstract void Execute(TaskManager taskManager);
/// <returns>True if elapsed time since last execution is greater than set interval</returns>