MCPcopy
hub / github.com/deezertidal/QuantumultX-Rewrite / timeout

Function timeout

rewrite/media-check.js:301–307  ·  view source on GitHub ↗
(delay = 5000)

Source from the content-addressed store, hash-verified

299}
300
301function timeout(delay = 5000) {
302 return new Promise((resolve, reject) => {
303 setTimeout(() => {
304 reject('Timeout')
305 }, delay)
306 })
307}
308
309
310function testNf(filmId) {

Callers 1

testDisneyPlusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected