Get the options for an options set.
The form element options set to generate options from
The environment and form to pull options from
A signal to abort any asynchronous processing
A result object containing potential options or a predictable error
Get the options for an options set.