public RepeatedTask(Action action, int sleepTime) { job = action; task = new DelayedTask(main, sleepTime); }
public JobDequeuer(int sleepMilliseconds) { list = new List <TJob>(); timer = new DelayedTask(check, sleepMilliseconds); timer.Start(); }