elizarov
12/16/2016, 10:15 AMAsync
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.