示例#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);
 }