public static void Main() { Echo.Go(); ApmExceptionHandling.Go(); ApmUI.Go(); ComputeBoundApm.Go(); ThreadIO.Go(); ApmTasks.Go(); Eap.Go(); }
public static void Main() { PipeDemo.Go().Wait(); AsyncFuncCodeTransformation.Go(); TaskLogger.Go().Wait(); EventAwaiterDemo.Go(); Features.Go(); GuiDeadlockWindow.Go(); Cancellation.Go().Wait(); ThreadIO.Go(); var s = AwaitWebClient(new Uri("http://Wintellect.com/")).Result; }
public static void Go() { using (ThreadIO.BeginBackgroundProcessing()) { // Issue low-priority I/O request in here... } }