Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/functions/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ export namespace FirebaseFunctionsTypes {
**/
export interface HttpsCallableOptions {
/**
* The timeout property is the time in milliseconds after which to cancel if there is no response. Default is 7000 milliseconds (7 seconds).
* The timeout property is the time in milliseconds after which to cancel if there is no response. Default is 70000 milliseconds (70 seconds).
*
* #### Example
*
*```js
* // The below will wait 7 seconds for a response from the cloud function before an error is thrown.
* // The below will wait 90 seconds for a response from the cloud function before an error is thrown.
* try {
* const instance = firebase.functions().httpsCallable('order', { timeout: 7000 });
* const instance = firebase.functions().httpsCallable('order', { timeout: 90000 });
* const response = await instance({
* id: '12345',
* });
Expand Down