Find why this function reports completion before every notification is sent.
JavaScript
async function notifyAll(client, recipients) {
recipients.forEach(async (recipient) => {
await client.send(recipient);
});
return { sent: recipients.length };
}