setImmediate.js 369 B

123456789101112131415
  1. /**
  2. * Copyright (c) 2013-present, Facebook, Inc.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. */
  8. 'use strict';
  9. // setimmediate adds setImmediate to the global. We want to make sure we export
  10. // the actual function.
  11. require('setimmediate');
  12. module.exports = global.setImmediate;