CloudFunction interface

The 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.

Signature:

export interface CloudFunction<T> extends Runnable<T> 

Extends: Runnable<T>