const e=e=>e.status===`fulfilled`,t=e=>e.status===`rejected`;function n(e,t){let{label:n=`Task`,items:r=[]}=t||{},i=0,a=0;for(let[t,o]of e.entries()){let e=r[t]?.id?` [${r[t]?.id}]`:``;if(o.status===`fulfilled`)i++,console.log(`${n}${e} succeeded.`);else{a++;let t=o.reason instanceof Error?o.reason.message:String(o.reason);console.error(`${n}${e} failed: ${t}`)}}return{successCount:i,failureCount:a}}export{t as n,n as r,e as t};
//# sourceMappingURL=promises-DDmW9pcL.mjs.map