# Managing asynchronous work with promises in Cloud Functions for Firebase

DevFeed: [Managing asynchronous work with promises in Cloud Functions for Firebase](<https://devfeed.tech/articles/keep-your-promises-when-using-cloud-functions-for-firebase-16203.md>)

Original publisher: [Read original article](<https://firebase.blog/posts/2017/06/keep-your-promises-when-using-cloud>)

Author: Doug Stevenson

Published: 2017-06-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Firebase Blog](<https://devfeed.tech/sources/firebase-blog.md>)

Topics: [Cloud Functions](<https://devfeed.tech/topics/cloud-functions.md>), [Firebase](<https://devfeed.tech/topics/firebase.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Back end](<https://devfeed.tech/topics/backend.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [backend](<https://devfeed.tech/tags/backend.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [cloud-functions](<https://devfeed.tech/tags/cloud-functions.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

## AI overview

This tutorial explains how JavaScript promises manage asynchronous work in Cloud Functions for Firebase. It describes returning a promise that resolves after all asynchronous work is complete and distinguishes sequential promise chaining from parallel work.

## Source excerpt

News, tutorials, and updates from the Firebase team.