• "cloud-functions"

Index

Type aliases

CloudFunction

CloudFunction: Runnable<T> & TriggerAnnotated & function

The Cloud Function type for all non-HTTPS triggers. This should be exported from your JavaScript file to define a Cloud Function.

This type is a special JavaScript function which takes a templated Event object as its only argument.

HttpsFunction

HttpsFunction: TriggerAnnotated & function

The Cloud Function type for HTTPS triggers. This should be exported from your JavaScript file to define a Cloud Function.

This type is a special JavaScript function which takes Express Request and Response objects as its only arguments.