node-p-timeout

Timeout a promise after a specified amount of time

Description

A promise represents the result of an asynchronous operation p-timeout can be used to timeout a promise by displaying a message or doing a particular function.

Time taken before timing out and the message or function to be displayed or done after timeout can be defined by the API pTimeout.

Node.js is an event-based server-side JavaScript engine

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/sindresorhus/p-timeout


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-p-timeout