You don't need to explicitly type Unit every time you can just use empty curly braces {} So a lambda type looks like () -> {} Kotlin and Java have type inference and explicitly declaring it as a Unit is redundant. The lambda will correctly infer its return type and unless you specifically want a Void or Unit you won't need to explicitly type it as such.