Creates an object with the keys matching those of the input controls, and the values being the results received by the matching values in the same input.

If source is defined, the controls will be added to the output of that handler after passing the input. In case the control keys conflict with a key already present in the resulting object, the results will be merged.




controls: Record<string, InteractionRoute<never> | JsonInteractionHandler<Dict<Json>>>


  • Merge the two objects. Generally this will probably not be necessary, or be very simple merges, but this ensures that we handle all possibilities.


    • Optional original: Json
    • Optional controls: Json

    Returns Json