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>
20 lines
422 B
Text
20 lines
422 B
Text
export class AbortSignal {
|
|
onabort = null;
|
|
_aborted = false;
|
|
constructor() {
|
|
Object.defineProperty(this, "_aborted", {
|
|
value: false,
|
|
writable: true,
|
|
});
|
|
}
|
|
get aborted() {
|
|
return this._aborted;
|
|
}
|
|
abort() {
|
|
this._aborted = true;
|
|
if (this.onabort) {
|
|
this.onabort(this);
|
|
this.onabort = null;
|
|
}
|
|
}
|
|
}
|