ContextFreeTask icon indicating copy to clipboard operation
ContextFreeTask copied to clipboard

Clear TaskScheduler.Current

Open AArnott opened this issue 8 years ago • 0 comments

ConfigureAwait(false) does two things:

  • it avoids posting to SynchronziationContext.Current
  • it avoids using TaskScheduler.Current

So to truly be a replacement for it, you must also re-schedule execution of the entire async method if TaskScheduler.Current != TaskScheduler.Default.

AArnott avatar Sep 10 '17 17:09 AArnott