Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2020

Use IAsyncEnumerable For Streaming Queries

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Blocker
    • 3.0.0-beta.4
    • 3.0.0-alpha4
    • library
    • None
    • 1

    Description

      EF Core 3 is using IAsyncEnumerable (and the C# 8 "await foreach" language construct) to support streaming results asynchronously. We should consider using this approach for asynchronous Couchbase queries as well.

      IAsyncEnumerable is only included in .NET Core 3 (.NET Standard 2.1). However, EF Core is using https://www.nuget.org/packages/System.Interactive.Async/, to provide backward compatibility with .NET Standard 2.0. It is type forwarded to the in-box types on .NET Standard 2.1. https://github.com/dotnet/reactive#v40-changes

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              btburnett3 Brant Burnett
              btburnett3 Brant Burnett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty