A general-purpose task scheduler.
Exemple #1
0
 internal static void Start()
 {
     Scheduler.NewBackgroundTask(Beat).RunForever(Delay);
 }
Exemple #2
0
 internal static void StartSaveTask()
 {
     saveTask            = Scheduler.NewBackgroundTask(SaveTask);
     saveTask.IsCritical = true;
     saveTask.RunForever(SaveInterval, SaveInterval + TimeSpan.FromSeconds(15));
 }