Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
323 B
Text
10 lines
323 B
Text
import { Timeout } from "./timeout.mjs";
|
|
export function setTimeoutFallbackPromises(delay, value, options) {
|
|
return new Promise((res) => {
|
|
res(value);
|
|
});
|
|
}
|
|
export function setTimeoutFallback(callback, ms, ...args) {
|
|
return new Timeout(callback, args);
|
|
}
|
|
setTimeoutFallback.__promisify__ = setTimeoutFallbackPromises;
|