...

/

Trigger Functions Directly

Trigger Functions Directly

Discover ways to call and trigger Cloud Functions directly.

In the Introduction to Cloud Functions lesson, we mentioned that Cloud Functions could either be called directly or triggered in response to an event. Since we have a brief overview of how Cloud Functions work, let’s go deeper to see ways in which we can directly invoke our Cloud Functions.

There are three ways we can call Firebase Cloud Functions directly, each with its unique operation and usage. These methods are as follows:

  • Schedule a Cloud Function to run at specific times or intervals.
  • Trigger a function in response to an HTTP request.
  • Calling a Cloud Function directly from the Firebase App. This means calling it from the client.

For this course, we’ll focus on triggering functions via HTTP requests and calling functions directly from ...