<@U0BRPBCKT> why are you using `Function0&lt;Unit&...
# announcements
q
@stepango why are you using
Function0<Unit>
? If you don't need a return type, you may define an interface
Action
which extends
Function<Unit>
. Something like:
Copy code
interface Action : Function<Unit> {
    fun invoke()
}
And you'll be able to use
void
freely in Java