dalexander
10/17/2017, 7:36 PMfun 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).