UNPKG

@clickup/pg-mig

Version:

PostgreSQL schema migration tool with microsharding and clustering support

7 lines (6 loc) 148 B
export async function promiseAllMap<T, V>( arr: T[], func: (item: T) => Promise<V>, ): Promise<V[]> { return Promise["all"](arr.map(func)); }