You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2021/04/27 07:34:00 UTC
[jira] [Created] (IGNITE-14655) .NET: Do not return task from
IDataStreamer.AddData method
Pavel Tupitsyn created IGNITE-14655:
---------------------------------------
Summary: .NET: Do not return task from IDataStreamer.AddData method
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
Fix For: 2.11
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)