3 ms·
Kotlin solved this pointless debate long time ago the moment they’ve released coroutines. Best of both worlds: you no longer have two functions with ReturnType
by wiseowise 2y ago
Kotlin solved this pointless debate long time ago the moment they’ve released coroutines.
Best of both worlds: you no longer have two functions with ReturnType and Promise<ReturnType>. You just mark potentially blocking function with suspend and you’re done.