If you define `fun executeKotlinRunner(kotlinRunna...
# announcements
d
If you define
fun executeKotlinRunner(kotlinRunnable: KotlinRunnable)
as
fun executeKotlinRunner(kotlinRunnable: () -> Unit)
you can write it as
kotlinRunner.executeKotlinRunner { println("hi hi hi") }
Unfortunately Kotlin does not perform SAM conversions on Kotlin interfaces, only Java interfaces (although they may add support for Kotlin interfaces in the future).