Пример #1
0
 public Task InsomniaAsync(InsomniaInputModel input)
 {
     return Task.Factory.StartNew(() => Thread.Sleep(100),
                                  TaskCreationOptions.AttachedToParent);
 }
Пример #2
0
 public Task InsomniaAsync(InsomniaInputModel input)
 {
     return(Task.Factory.StartNew(() => Thread.Sleep(100),
                                  TaskCreationOptions.AttachedToParent));
 }