File Explorer

/var/runtime/node_modules/@aws-sdk/node_modules/asynckit/lib

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
11 files
defer.js441 B · 27 lines
module.exports = defer; /** * Runs provided function on next iteration of the event loop * * @param {function} fn - function to run */function defer(fn){  var nextTick = typeof setImmediate == 'function'    ? setImmediate    : (      typeof process == 'object' && typeof process.nextTick == 'function'      ? process.nextTick      : null    );   if (nextTick)  {    nextTick(fn);  }  else  {    setTimeout(fn, 0);  }}