rrader
02/10/2017, 8:58 AMasync
should return Coroutine
classelizarov
02/10/2017, 9:06 AMasync
returns an object also known (in computer science) as a future or a promise: https://en.wikipedia.org/wiki/Futures_and_promiseselizarov
02/10/2017, 9:09 AMCoroutine
the result of launch
function, but we don’t need any extra functions on it beyond those that are already provided by a Job
.rrader
02/10/2017, 9:15 AMDeferred
also seems incorrect, because it means it will run laterrrader
02/10/2017, 9:18 AMAsyncSubroutine
hackerham
02/10/2017, 9:20 AMelizarov
02/10/2017, 9:21 AMelizarov
02/10/2017, 9:22 AMelizarov
02/10/2017, 9:23 AMasync
result in other languages: C# calls it Task
, JS calls it Promise
, Dart calls it Future
.elizarov
02/10/2017, 9:24 AMrrader
02/10/2017, 9:37 AMdefer
https://tour.golang.org/flowcontrol/12rrader
02/10/2017, 9:37 AMelizarov
02/10/2017, 10:42 AMdefer
is a misnomer. We cannot help that.