You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(functions): typescript definitions for httpsCallable and httpsCallableFromUrl (#7762)
* feat(functions): Enable specification of input and response types for httpsCallable and httpsCallableFromUrl functions
* lint
* update to match upstream typings
* An HttpsCallableOptions object that can be passed as the second argument to `firebase.functions().httpsCallable(name, HttpsCallableOptions)`.
148
+
* An interface for metadata about how calls should be executed. An instance of HttpsCallableOptions can be passed as the second argument to `firebase.functions().httpsCallable(name, httpsCallableOptions)`.
149
149
**/
150
150
exportinterfaceHttpsCallableOptions{
151
151
/**
152
-
* The timeout property allows you to control how long the application will wait for the cloud function to respond in milliseconds.
152
+
* The timeout property is the time in milliseconds after which to cancel if there is no response. Default is 70000.
153
153
*
154
154
* #### Example
155
155
*
156
156
*```js
157
-
* // The below will wait 7 seconds for a response from the cloud function before an error is thrown
157
+
* // The below will wait 7 seconds for a response from the cloud function before an error is thrown.
0 commit comments