MCPcopy Index your code
hub / github.com/darkreader/darkreader / timeout

Function timeout

tasks/utils.js:176–178  ·  view source on GitHub ↗
(delay)

Source from the content-addressed store, hash-verified

174 * @returns {Promise<void>}
175 */
176export function timeout(delay) {
177 return new Promise((resolve) => setTimeout(resolve, delay));
178}
179
180/**
181 * @param {string} url

Callers 1

translateEnMessageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected