Join Slack
Powered by
Today I discovered you can annotate a lambda funct...
# random
g
galex
02/27/2019, 5:43 AM
Today I discovered you can annotate a lambda function as “suspendible” itself:
Copy code
withUserFromToken(block: suspend (User) -> Unit)
What a beauty! 😍
Open in Slack
Previous
Next