https://kotlinlang.org logo
d

damian

02/07/2017, 8:01 PM
Sure, you just need parentheses, e.g.
(() -> Unit)?