var c=e=>e.status==="fulfilled",a=e=>e.status==="rejected";function f(e,u){let{label:t="Task",items:l=[]}=u||{},o=0,i=0;for(let[r,s]of e.entries()){let n=l[r]?.id?` [${l[r]?.id}]`:"";if(s.status==="fulfilled")o++,console.log(`${t}${n} succeeded.`);else{i++;let d=s.reason instanceof Error?s.reason.message:String(s.reason);console.error(`${t}${n} failed: ${d}`)}}return{successCount:o,failureCount:i}}export{c as a,a as b,f as c};
