Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

getOffer result overwritten with default content

Level 1
Level 1

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?





Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies