public TaskManager(Action stopAction, bool stopOnCompletion = true) : this(stopOnCompletion) { _stopAction = TaskHelper.ToAsync(stopAction); }
public TaskManager(Action stopAction) : this() { _stopAction = TaskHelper.ToAsync(stopAction); }