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 result
https://dlang.org/phobos/std_parallelism.html#.task