onValue

Registers a callback to be executed when this required arity option receives a value. The callback receives List (non-nullable) since this is a required option.

Return

This builder for method chaining

Parameters

callback

Function to execute with the parsed list value