Join Slack
Powered by
Hi, are there suspendable alternatives to the stan...
# announcements
n
nfa
04/14/2021, 1:06 PM
Hi, are there suspendable alternatives to the standard functions ( let it run also apply with )? Something like
Copy code
suspend fun <T, R> T.let(block: suspend (T) -> R): R { return block(this) }
e
elizarov
04/14/2021, 1:12 PM
They are inline, so they are automatically suspendable without having to have a special version.
👍 5
Open in Slack
Previous
Next