Best way to retry request?

I have the following code
var doubleClickTags = _satellite.getVar("DoubleClick Floodlight Tags Array") || [];

Open in new window

The issue is I can't figure out how to delay the code if there is nothing returned. I want to delay a second and then try again before proceeding in my code. Looking for an elegant solution.

Who is Participating?

Improve company productivity with a Business Account.Sign Up

sudheeshthegreatConnect With a Mentor Commented:
894359Author Commented:
Hi sudheeshthegreat,
No I have not? Not sure how that works?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.