Skip to content

SokratisVidros/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

Contributors 4

  •  
  •  
  •  
  •