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 stuffreturn await result; // wait for RPC finish, then return it's resulthttps://dlang.org/phobos/std_parallelism.html#.task
Sorry, I mean Task from C# which is returned from async func, not the D's Task.