internal DisposablePeriodicTask(Action task, TaskExecutorWorker parent, long start, long period) { this.task = task; this.parent = parent; this.start = start; this.period = period; this.cts = new CancellationTokenSource(); }
internal DisposableTask(Action task, TaskExecutorWorker parent) { this.task = task; this.parent = parent; this.cts = new CancellationTokenSource(); }