``` fun test2(provider: (T) -> Unit): T // ...
# announcements
o
Copy code
fun test2(provider: (T) -> Unit): T // Function
Here
T
is in
out
position, despite being used in parameter, because
test2
is going to "provide" value