[ 
https://issues.apache.org/jira/browse/IGNITE-14655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-14655:
------------------------------------
    Summary: .NET: Improve DataStreamer API  (was: .NET: Do not return task 
from IDataStreamer.AddData method)

> .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: 10m
>  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)

Reply via email to