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>
14 lines
No EOL
517 B
Text
14 lines
No EOL
517 B
Text
/**
|
|
* Bind the callback and only invoke the callback once regardless how many times `BindOnceFuture.call` is invoked.
|
|
*/
|
|
export declare class BindOnceFuture<R, This = unknown, T extends (this: This, ...args: unknown[]) => R = () => R> {
|
|
private _callback;
|
|
private _that;
|
|
private _isCalled;
|
|
private _deferred;
|
|
constructor(_callback: T, _that: This);
|
|
get isCalled(): boolean;
|
|
get promise(): Promise<R>;
|
|
call(...args: Parameters<T>): Promise<R>;
|
|
}
|
|
//# sourceMappingURL=callback.d.ts.map |