Skip to content

Race a promise against a time bomb promise

License

Notifications You must be signed in to change notification settings

klouvas/race-until

 
 

Repository files navigation

race-until

Race a promise against a time bomb promise.

const {raceUntil} = require('race-until');
raceUntil(promise, timeout = 3000, timeoutResponse = 'timeout')

Usage

Please have a look at project's tests.

License

The MIT License (MIT)

About

Race a promise against a time bomb promise

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%