As per Firebase documentation, Cloud Functions need to end with res.send(), res.end() or res.redirect(). When I use res.sendFile() to send the content of a file, the console log show more than 1 invocation (actually 4-5 innovations).
So, what's proper way to use res.sendFile() in Firebase Cloud Functions?