aboutsummaryrefslogtreecommitdiff
path: root/node_modules/async/setImmediate.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-13 21:53:45 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-13 21:53:45 +0100
commit18c96ab6926658d6707f1f3be935078f1cb08411 (patch)
tree418195a292ce8811679d4c2b1cb7bb0316669d62 /node_modules/async/setImmediate.js
parent9657e01be14fa5baa4067da65aff94faf6c973e0 (diff)
node modules
Diffstat (limited to 'node_modules/async/setImmediate.js')
-rw-r--r--node_modules/async/setImmediate.js45
1 files changed, 0 insertions, 45 deletions
diff --git a/node_modules/async/setImmediate.js b/node_modules/async/setImmediate.js
deleted file mode 100644
index 23d48e288..000000000
--- a/node_modules/async/setImmediate.js
+++ /dev/null
@@ -1,45 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-
-var _setImmediate = require('./internal/setImmediate');
-
-var _setImmediate2 = _interopRequireDefault(_setImmediate);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-/**
- * Calls `callback` on a later loop around the event loop. In Node.js this just
- * calls `setImmediate`. In the browser it will use `setImmediate` if
- * available, otherwise `setTimeout(callback, 0)`, which means other higher
- * priority events may precede the execution of `callback`.
- *
- * This is used internally for browser-compatibility purposes.
- *
- * @name setImmediate
- * @static
- * @memberOf module:Utils
- * @method
- * @alias nextTick
- * @category Util
- * @param {Function} callback - The function to call on a later loop around
- * the event loop. Invoked with (args...).
- * @param {...*} args... - any number of additional arguments to pass to the
- * callback on the next tick.
- * @example
- *
- * var call_order = [];
- * async.nextTick(function() {
- * call_order.push('two');
- * // call_order now equals ['one','two']
- * });
- * call_order.push('one');
- *
- * async.setImmediate(function (a, b, c) {
- * // a, b, and c equal 1, 2, and 3
- * }, 1, 2, 3);
- */
-exports.default = _setImmediate2.default;
-module.exports = exports['default']; \ No newline at end of file