you can use ``` interface <in T> TaskListen...
# announcements
m
you can use
Copy code
interface <in T> TaskListener {
    fun onTaskComplete(results: Map<Int, List<T>>)
}
which will prevent
T
from being erased at runtime, as opposed to the star projection
which will give the compiler a tip that
T
is safe to be used as the type you passed
🤘 1