Also, with extension functions you can do things y...
# announcements
o
Also, with extension functions you can do things you can't do with member functions. For example, if I have
Foo<T>
, and I want to be able to perform specific operations on some of the
T
variants. E.g.
Copy code
fun Foo<Unit>.runAsync() : Unit
fun <T> Foo<T>.queryAsync() : Future<T>