JSPM

long-timeout

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2610155
  • Score
    100M100P100Q235006F
  • License MIT

Long timeout makes it possible to have a timeout that is longer than 24.8 days (2^31-1 milliseconds).

Package Exports

  • long-timeout

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (long-timeout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Long timeouts

Long timeout makes it possible to have a timeout that is longer than 24.8 days (2^31-1 milliseconds).

Usage

var lt = require('long-timeout')

var timeout = lt.setTimeout(function() {
  console.log('in 30 days')
}, 1000 * 60 * 60 * 24 * 30)


// Clear it
lt.clearTimeout(timeout)

Install

npm install long-timeoits

Licence

MIT