In Tips & Tricks the docs say Note: If a Node.js background function returns a Promise, Cloud Functions ensures that the Promise is settled before terminating.
Note: If a Node.js background function returns a Promise, Cloud Functions ensures that the Promise is settled before terminating.