2.3.1 • Published 4 years ago
race-until v2.3.1
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)