Async counterpart to injectFormElementsIntoForm. Injects embedded
form / infoPage elements for each form in forms. Uses getForm to load
embedded forms and caches results by id for the duration of the call so each
form is retrieved at most once across the whole batch.
Mutates each form object in forms in place (the array entries are updated
by reference); nothing is returned. Forms returned from getForm are not
mutated — their element trees are cloned before embedding.
Async counterpart to injectFormElementsIntoForm. Injects embedded
form/infoPageelements for each form informs. UsesgetFormto load embedded forms and caches results by id for the duration of the call so each form is retrieved at most once across the whole batch.Mutates each form object in
formsin place (the array entries are updated by reference); nothing is returned. Forms returned fromgetFormare not mutated — their element trees are cloned before embedding.