Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14655

.NET: Improve DataStreamer API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.11
    • platforms
    • .NET: Improved DataStreamer API - added FlushAsync, deprecated and replaced confusing methods and properties, fixed resource cleanup
    • Docs Required, Release Notes Required

    Description

      Currently, all AddData methods return a Task, however, this task is not for an individual add/remove operation, but for the current batch.

      This is confusing: users often try to await the returned task, which is natural; but the task will never complete, because the batch is not yet full, and user code is stuck waiting.

      • Deprecate AddData, RemoveData methods
      • Add new void Add and void Remove methods
      • Add new BatchTask property to get the task for the current batch

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m