As a matter of style, I’d actually recommend to ad...
# coroutines
e
As a matter of style, I’d actually recommend to add
Async
suffix to
greeting
, that is name it
fun greetingAsync(…): Future<String>
, but drop
Sync
suffix from the other one, that is name it just
fun greetingSevenDwarfs(): Sequence<String>
. Async (future-returning) style of programming is quite error-prone, so it is better to make it explicit.