Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/timing/doLater.js

  • Provides:

    • dojox.timing.doLater
  • dojox.timing.doLater

    • parameters:
      • conditional: (typeof anything)
        Can be a property that eventually gets set, or
        an expression, method... anything that can be
        evaluated.
      • context: (typeof Object)
        The namespace where the call originated.
        Defaults to global and anonymous functions
      • interval: (typeof Number)
        Poll time to check conditional in Milliseconds
    • returns
      Boolean
    • summary
      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.
    • description
      dojox.timing.doLater(conditional) is testing if the call
      should be done later. So it returns
      true if the param is false.
      arguments:
    • example
       setTimeout(function(){
       		if(dojox.timing.doLater(app.ready)){return;}
       		console.log("Code is ready! anonymous.function SUCCESS")
       	},700);
    • type
      Function
  • dojox.timing.doLater.caller

    • alias - dojox.timing.doLater.caller
  • dojox.timing.doLater.caller.arguments

    • alias - dojox.timing.doLater.caller.arguments
  • dojo.global

    • type
      Object
  • dojox.timing

    • type
      Object
  • dojox

    • type
      Object