My two cents

Satoshi satoshi at rikarin.org
Wed Oct 18 09:07:32 UTC 2017


On Wednesday, 18 October 2017 at 09:03:27 UTC, Andrea Fontana 
wrote:
> I think you missed many things for example:
>
> On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote:
>
>> e.g.
>> auto result = device.start(foo, bar); // This is RPC to remote 
>> server returning Task!Bar
>> // do some important stuff
>> return await result; // wait for RPC finish, then return it's 
>> result
>
> https://dlang.org/phobos/std_parallelism.html#.task

Sorry, I mean Task from C# which is returned from async func, not 
the D's Task.


More information about the Digitalmars-d mailing list