UNPKG

prisma-class-dto-generator

Version:

Generate Prisma DTOs with seamless class-validator and class-transformer integration for TypeScript applications.

12 lines 288 B
export class AsyncResolver { static tasks = []; static addTask(task) { this.tasks.push(task); } static async resolveAll() { if (this.tasks.length > 0) { await Promise.all(this.tasks); } } } //# sourceMappingURL=async-resolver.js.map