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

Ensure ConfigureAwait is used internally on awaited async calls

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0
    • None
    • Connectivity
    • None

    Description

      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/

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: