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

Add IAsyncEnumerable overload for GetAllReplicas

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • backlog-3.0
    • None
    • None
    • None
    • 2

    Description

      Motivation

      The current GetAllReplicasAsync() API returns an IEnumerable<Task<IGetReplicaResult>> to the user, which is more difficult to use than if we were returning a "stream" of result using the IAsyncEnumerable interface (See LookupInAllReplicas and RangeScan).

      Desired Outcome

      Add a method to the ICouchbaseCollection interface or an extension method for GetAllReplicasAsync, which will return an IAsyncEnumerable<IGetReplicaResult>.

      Attachments

        Issue Links

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

          Activity

            People

              emilien.bevierre Emilien Bevierre
              emilien.bevierre Emilien Bevierre
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty