Learn about the various types of cloud functions that the Firebase SDK offers.
Instructor: Before we go into detail about how to use the emulator for Firebase cloud functions, first we need to understand something. There are different types of cloud functions. You've seen the emulator, which each one of those types will be a bit different. In the next few videos, we'll see how to use the emulator with each different type of functions.
For example, we have the HTTP functions. This is when you create an HTTP endpoint to call from wherever you want. Next, we have callable functions. In these, you can use the JavaScript SDK to make the Firebase client call your function directly, passing all of the context like authentication and so on.
We have the listener functions that trigger based off changes in your application. For example, when you change a document in your database, this cloud function will trigger.
Knowing that, let's move into how to use each one of these functions.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!