You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by Dhruv Mahajan <dh...@gmail.com> on 2016/04/14 20:25:04 UTC
Read() in Link and StreamingLink classes
Hi
I have a question. It seems to me that nobody uses Read() function in Link
and StreamingLink classes in REEF codebase. Anyways, its effect can be
simulated also using await with Async() versions. Should we remove it from
the APIs altogether?
Dhruv
Re: Read() in Link and StreamingLink classes
Posted by Markus Weimer <ma...@weimo.de>.
On 4/14/2016 11:25 AM, Dhruv Mahajan wrote:
> It seems to me that nobody uses Read() function in Link and
> StreamingLink classes in REEF codebase. Anyways, its effect can be
> simulated also using await with Async() versions. Should we remove it
> from the APIs altogether?
Not sure. The common pattern I see the in .NET SDK is to have every
async method also available without async. But maybe that is for
historic reasons?
Markus