Callback
class Callback<T1 : Any, T2 : Any, T3 : Any>(val singleArg: suspend (T1) -> Unit? = null, val simple: suspend (T1, T2) -> Unit? = null, val withArg: suspend (T1, T2, T3) -> Unit? = null)
Represents a callback function that can be invoked for events.
Parameters
T1
The type of the first parameter in the callback function.
T2
The type of the second parameter in the callback function.
T3
The type of the third parameter in the callback function.