1.0.2 • Published 10 years ago

async-timeout v1.0.2

Weekly downloads
177
License
ISC
Repository
-
Last release
10 years ago

async-timeout

async-timeout is a simple async task wrapper which triggers the callback. It supresses errors (by default), thus uses the timeout fallbacks also as an error fallback.

    var timeout = require('async-timeout');
    async.parallel([
      timeout(function noop(){
        // never call back
      }, 1000, 'FALLBACK RESP IN CASE OF TIMEOUT')
    ], function(err, res) {
      console.log(res[0]);
    });
1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago