Rocky_Mountain_Vending/.pnpm-store/v10/files/b0/943b2fe286794cfaeba3745009e4544434c31e7fcee8477279524b03fa7f1d9d2c3594615a8c64d60810d609cc38fe8f2590066ad6aefc5dba908b20bb666b
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

30 lines
No EOL
942 B
Text

import { AsyncScheduler } from './AsyncScheduler';
export class AnimationFrameScheduler extends AsyncScheduler {
flush(action) {
this._active = true;
let flushId;
if (action) {
flushId = action.id;
}
else {
flushId = this._scheduled;
this._scheduled = undefined;
}
const { actions } = this;
let error;
action = action || actions.shift();
do {
if ((error = action.execute(action.state, action.delay))) {
break;
}
} while ((action = actions[0]) && action.id === flushId && actions.shift());
this._active = false;
if (error) {
while ((action = actions[0]) && action.id === flushId && actions.shift()) {
action.unsubscribe();
}
throw error;
}
}
}
//# sourceMappingURL=AnimationFrameScheduler.js.map