Bug#868438: ITP: node-p-timeout -- Timeout a promise after a specified amount of time
Package: wnpp
Severity: wishlist
Owner: Ansal Muhammed <a6@disroot.org>
X-Debbugs-CC: debian-devel@lists.debian.org
* Package name : node-p-timeout
Version : 1.2.0
Upstream Author : Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
* URL : https://github.com/sindresorhus/p-timeout#readme
* License : Expat
Programming Lang: JavaScript
Description: timeout a promise after a specified amount of time
pTimeout(input,ms,[message[fallback]])
input is returned after ms time
message specify a custom error message or error
for custom error,it is recommended to sub-class pTimeout.TimeoutError
default message 'Promise timed out after 50 milliseconds'
for doing something other than rejecting with an error on timeout
.
Node.js is an event-based server-side JavaScript engine
It is a dependancy of npm.
Pirate Praveen has agreed to sponsor. I am interested to join the Debian
JavaScript maintainers team.
Reply to: