The ConfigureAwait is a .NET method available for the Task/ValueTask types, that configures an awaiter used to await these awaitables. It has a boolean parameter continueOnCapturedContext that takes the value true to marshal the continuation back to the original context captured, or false to not capture the context.
Documentation:
Articles:
- ConfigureAwait FAQ by Stephen Toub
- It's All About the SynchronizationContext by Stephen Cleary
Videos: