kotlin closures
snippet in kotlin

kotlin closures

user8710

They are called lambdas ;)