Rocky_Mountain_Vending/.pnpm-store/v10/files/9d/10cc8ac15d4e9908fda27d50dde0620ba94538b9a544ba462c085ea9b385e10f9ec2d2df63926588f511376c36d2031fea7c041e6f6f2f15f9ae90a43a890f
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

29 lines
No EOL
694 B
Text

/**
* @internal
*/
export class AsyncIterableUtil {
static async *map(iterable, map) {
for await (const value of iterable) {
yield await map(value);
}
}
static async *flatMap(iterable, map) {
for await (const value of iterable) {
yield* map(value);
}
}
static async collect(iterable) {
const result = [];
for await (const value of iterable) {
result.push(value);
}
return result;
}
static async first(iterable) {
for await (const value of iterable) {
return value;
}
return;
}
}
//# sourceMappingURL=AsyncIterableUtil.js.map