a:5:{s:9:"#provides";s:20:"dojox.timing.doLater";s:9:"#resource";s:17:"timing/doLater.js";s:20:"dojox.timing.doLater";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:11:"conditional";a:2:{s:4:"type";s:8:"anything";s:7:"summary";s:103:"Can be a property that eventually gets set, or an expression, method... anything that can be evaluated.";}s:7:"context";a:3:{s:8:"optional";b:1;s:4:"type";s:7:"Object ";s:7:"summary";s:90:"Object The namespace where the call originated. Defaults to global and anonymous functions";}s:8:"interval";a:3:{s:8:"optional";b:1;s:4:"type";s:7:"Number ";s:7:"summary";s:53:"Number Poll time to check conditional in Milliseconds";}}s:6:"source";s:301:" if(conditional){ return false; } // Boolean var callback = dojox.timing.doLater.caller, args = dojox.timing.doLater.caller.arguments; interval = interval || 100; context = context || dojo.global; setTimeout(function(){ callback.apply(context, args); },interval); return true; // Boolean";s:7:"summary";s:227:"Check if a parameter is ready, and if not, "do later". doLater will ping the parameter until it evaluates to something (truthy). It thens calls the caller with original arguments, using the supplied context or window.";s:11:"description";s:131:"dojox.timing.doLater(conditional) is testing if the call should be done later. So it returns true if the param is false. arguments:";s:7:"returns";s:7:"Boolean";s:8:"examples";a:1:{i:0;s:143:" setTimeout(function(){ if(dojox.timing.doLater(app.ready)){return;} console.log("Code is ready! anonymous.function SUCCESS") },700);";}}s:12:"dojox.timing";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}