Callback

constructor(singleArg: suspend (T1) -> Unit? = null, simple: suspend (T1, T2) -> Unit? = null, withArg: suspend (T1, T2, T3) -> Unit? = null)

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.