Join Slack
Powered by
Do I understand correctly that I'm not able to mar...
# coroutines
r
r4zzz4k
01/19/2018, 7:27 PM
Do I understand correctly that I'm not able to mark lambda declaration as
suspend
? I.e. there is no way to avoid explicit type here:
Copy code
val lambda: suspend (String) -> Unit = { input: String -> /* body */ }
e
elizarov
01/19/2018, 8:07 PM
Not yet, but planned
🎉 2
r
r4zzz4k
01/19/2018, 8:10 PM
Got it, thanks!
4
Views
Open in Slack
Previous
Next