[
https://issues.apache.org/jira/browse/IGNITE-14655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-14655:
------------------------------------
Release Note: .NET: Improved DataStreamer API - added FlushAsync,
deprecated and replaced confusing methods and properties, fixed resource cleanup
> .NET: Improve DataStreamer API
> ------------------------------
>
> Key: IGNITE-14655
> URL: https://issues.apache.org/jira/browse/IGNITE-14655
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: .NET
> Fix For: 2.11
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)