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.

Thanks,!
894359Asked:
Who is Participating?
 
sudheeshthegreatConnect With a Mentor Commented:
0
 
894359Author Commented:
Hi sudheeshthegreat,
No I have not? Not sure how that works?
0
All Courses

From novice to tech pro — start learning today.