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>
32 lines
740 B
Text
32 lines
740 B
Text
/**
|
|
* @public
|
|
*/
|
|
export interface ConnectionPool<T> {
|
|
/**
|
|
* Retrieve the first connection in the pool
|
|
*/
|
|
poll(): T | void;
|
|
/**
|
|
* Release the connection back to the pool making it potentially
|
|
* re-usable by other requests.
|
|
*/
|
|
offerLast(connection: T): void;
|
|
/**
|
|
* Removes the connection from the pool, and destroys it.
|
|
*/
|
|
destroy(connection: T): void;
|
|
/**
|
|
* Implements the iterable protocol and allows arrays to be consumed
|
|
* by most syntaxes expecting iterables, such as the spread syntax
|
|
* and for...of loops
|
|
*/
|
|
[Symbol.iterator](): Iterator<T>;
|
|
}
|
|
/**
|
|
* Unused.
|
|
* @internal
|
|
* @deprecated
|
|
*/
|
|
export interface CacheKey {
|
|
destination: string;
|
|
}
|