public void SpinBackgroundWorkers()
{
workContext.StartWork();
indexingBackgroundTask = System.Threading.Tasks.Task.Factory.StartNew(
new IndexingExecuter(TransactionalStorage, workContext, backgroundTaskScheduler).Execute,
CancellationToken.None, TaskCreationOptions.LongRunning, backgroundTaskScheduler);
reducingBackgroundTask = System.Threading.Tasks.Task.Factory.StartNew(
new ReducingExecuter(TransactionalStorage, workContext, backgroundTaskScheduler).Execute,
CancellationToken.None, TaskCreationOptions.LongRunning, backgroundTaskScheduler);
tasksBackgroundTask = System.Threading.Tasks.Task.Factory.StartNew(
new TasksExecuter(TransactionalStorage, workContext).Execute,
CancellationToken.None, TaskCreationOptions.LongRunning, backgroundTaskScheduler);
}