export function pMap(arr: T[], fn: (t: T) => Promise) { return Promise.all(arr.map(fn)); }