Rocky_Mountain_Vending/.pnpm-store/v10/files/19/a0819701aa45abdcc0ce9e784f1ee682ce6684f8bf93e58dacff8d6a13dfc4d70a2fdbf4aa1d62fa697067db1ab6075e0a53ffd1a88ce1b70c07c02bfbdbe5
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

35 lines
No EOL
1 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.timeoutWith = void 0;
var async_1 = require("../scheduler/async");
var isDate_1 = require("../util/isDate");
var timeout_1 = require("./timeout");
function timeoutWith(due, withObservable, scheduler) {
var first;
var each;
var _with;
scheduler = scheduler !== null && scheduler !== void 0 ? scheduler : async_1.async;
if (isDate_1.isValidDate(due)) {
first = due;
}
else if (typeof due === 'number') {
each = due;
}
if (withObservable) {
_with = function () { return withObservable; };
}
else {
throw new TypeError('No observable provided to switch to');
}
if (first == null && each == null) {
throw new TypeError('No timeout provided.');
}
return timeout_1.timeout({
first: first,
each: each,
scheduler: scheduler,
with: _with,
});
}
exports.timeoutWith = timeoutWith;
//# sourceMappingURL=timeoutWith.js.map