Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1051

Ensure ConfigureAwait is used internally on awaited async calls

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: None
    • Component/s: Connectivity
    • None

      When doing awaits, within a library, I think we should be using ConfigureAwait(false). This is an efficiency optimisation that is not yet widely known. A few quick links;
      http://channel9.msdn.com/Series/Three-Essential-Tips-for-Async/Async-library-methods-should-consider-using-Task-ConfigureAwait-false-
      http://rehansaeed.co.uk/configureawait-task-parallel-library/

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: