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