Example #1
0
 public Task Invoke(Action action, TaskType type = TaskType.Analysis)
 {
     return(actionQueue.Execute(() =>
     {
         action();
         return Task.FromResult(true);
     }, (int)type));
 }