onSuccess

fun onSuccess(onSuccess: (T) -> Unit)

Set lambda which is called when onSuccess on internal Single is called

Parameters

onSuccess

Lambda called when onSuccess is emitted.