Well, you're allowed to pass closures as the final...
# getting-started
d
Well, you're allowed to pass closures as the final method of an argument like...
somefunc(arg1, arg2) { ...closure here }
if the method is defined as
fun somefunc(a1: Any, a2: Any, a3: () -> Unit)
which is what I think it happening there.