onValue

fun onValue(callback: (List<T>) -> Unit): AritySetOptionBuilder<T>(source)

Registers a callback to be invoked when this set arity option receives values. The callback receives the complete Set>? value.