Join Slack
Powered by
<@U0T2TA02W> You can use a bound method reference ...
# announcements
d
diesieben07
11/30/2017, 1:05 PM
@matej
You can use a bound method reference like so:
Copy code
fun fromJava(runnable: Runnable) { val asFunction: () -> Unit = runnable::run }
👍 1
3
Views
Open in Slack
Previous
Next