public void PauseLearningModel(Guid guid) { ILearningModel learningModel = this.GetLearningModel(guid); if (learningModel == null) { return; } /* TODO: Make sure the given learning task is paused */ m_workerPool.PauseTask(learningModel); }
public void PauseScraper(Guid guid) { IScraper scraper = this.GetScraper(guid); if (scraper == null) { return; } /* TODO: Make sure the given scraper task is paused */ m_workerPool.PauseTask(scraper); }