https://kotlinlang.org logo
#coroutines
Title
# coroutines
l

louiscad

03/16/2018, 2:49 PM
Is there a reason Kotlin 1.2.30 brought
suspend
lambda "creator" without parameters, but didn't bring one with a single parameter ? I can easily write one:
inline fun <T, R> suspend(noinline block: suspend (T) -> R): suspend (T) -> R = block
e

elizarov

03/16/2018, 5:27 PM
Use case?
4 Views