SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > asynckit > > lib


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules/asynckit//lib

NameTypeSizeLast ModifiedActions
abort.js File 497 bytes March 10 2021 14:36:40.
async.js File 599 bytes March 10 2021 14:36:40.
defer.js File 441 bytes March 10 2021 14:36:40.
iterate.js File 1794 bytes March 10 2021 14:36:40.
readable_asynckit.js File 1611 bytes March 10 2021 14:36:40.
readable_parallel.js File 673 bytes March 10 2021 14:36:40.
readable_serial.js File 655 bytes March 10 2021 14:36:40.
readable_serial_ordered.js File 941 bytes March 10 2021 14:36:40.
state.js File 941 bytes March 10 2021 14:36:40.
streamify.js File 2964 bytes March 10 2021 14:36:40.
terminator.js File 533 bytes March 10 2021 14:36:40.

Reading File: //lib/node_modules/npm/node_modules/asynckit//lib/async.js

var defer = require('./defer.js');

// API
module.exports = async;

/**
 * Runs provided callback asynchronously
 * even if callback itself is not
 *
 * @param   {function} callback - callback to invoke
 * @returns {function} - augmented callback
 */
function async(callback)
{
  var isAsync = false;

  // check if async happened
  defer(function() { isAsync = true; });

  return function async_callback(err, result)
  {
    if (isAsync)
    {
      callback(err, result);
    }
    else
    {
      defer(function nextTick_callback()
      {
        callback(err, result);
      });
    }
  };
}

SILENT KILLER Tool