nexttick.js
No description.

File Location

/goog/async/nexttick.js


Public Protected Private

Global Functions

goog.async.nextTick&cb()
No description.
code »
goog.async.nextTick.getSetImmediateEmulator_() function(function())
Determines the best possible implementation to run a function as soon as the JS event loop is idle.
Returns: function(function())  The "setImmediate" implementation.
code »
goog.async.nextTick(callbackopt_context)
Fires the provided callbacks as soon as possible after the current JS execution context. setTimeout(?, 0) always takes at least 5ms for legacy reasons.
Arguments:
callback : function(this:SCOPE)
Callback function to fire as soon as possible.
opt_context : SCOPE=
Object in whose scope to call the listener.
code »
goog.async.nextTick.getSetImmediateEmulator_&Channel&onmessage()
No description.
code »
goog.async.nextTick.setImmediate_()
Cache for the setImmediate implementation.
code »
goog.async.throwException(exception)
Throw an item without interrupting the current execution context. For example, if processing a group of items in a loop, sometimes it is useful to report an error while still allowing the rest of the batch to be processed.
Arguments:
exception : *
No description.
code »
goog.async.nextTick.wrapCallback_(callback) function()
Helper function that is overrided to protect callbacks with entry point monitor if the application monitors entry points.
Arguments:
callback : function()
Callback function to fire as soon as possible.
Returns: function()  The wrapped callback.
code »

Global Variables

function%0 :
No description.
Code »

Directory async

File Reference