ContextFreeTask
ContextFreeTask copied to clipboard
Task-like structs which capture no synchronization context on the await operations.
`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...
Now, `ContextFreeTask` has two responsibilities: - `await` operations in the methods which return `ContextFreeTask` capture no context - `await` operations on `ContextFreeTask` capture no context These should be separated. |...
Do you demand?