Hi guys
we have an issue where we two /delivery calls competing with each other and depending on which one finishes first, the wrong content is displayed.
1. the default initial target call
2. a getOffer call which is listening to the at-library-loaded event to trigger
If the initial target call goes through first, the offer from the second call is shown - OK
Should the initial call be finished after the getOffer call has finished and applyOffer been executed, it hides the offer content and shows the default content - BAD
Are we listening to the wrong event? Is there something like "all mboxes ready" event which we could listen to instead?
Or any proven approach that would work here?
Cheers
Björn