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>
12 lines
No EOL
453 B
Text
12 lines
No EOL
453 B
Text
import { dateTimestampProvider } from './scheduler/dateTimestampProvider';
|
|
export class Scheduler {
|
|
constructor(schedulerActionCtor, now = Scheduler.now) {
|
|
this.schedulerActionCtor = schedulerActionCtor;
|
|
this.now = now;
|
|
}
|
|
schedule(work, delay = 0, state) {
|
|
return new this.schedulerActionCtor(this, work).schedule(state, delay);
|
|
}
|
|
}
|
|
Scheduler.now = dateTimestampProvider.now;
|
|
//# sourceMappingURL=Scheduler.js.map |