Join Slack
Communities
Powered by
is it planned to support passing suspend functions...
# coroutines
v
vaskir
06/18/2017, 6:28 PM
is it planned to support passing suspend functions into HOFs? I mean:
Copy code
suspend fun f() = 1 suspend fun h(f: suspend () -> Int) = ... h(::f) // compilation error
Open in Slack
Previous
Next