[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[],null,["# https.CallableFunction interface\n\nCreates a callable method for clients to call using a Firebase SDK.\n\n**Signature:** \n\n export interface CallableFunction\u003cT, Return, Stream = unknown\u003e extends HttpsFunction \n\n**Extends:** [HttpsFunction](./firebase-functions.https.md#httpshttpsfunction)\n\nMethods\n-------\n\n| Method | Description |\n|---------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|\n| [run(request)](./firebase-functions.https.callablefunction.md#httpscallablefunctionrun) | Executes the handler function with the provided data as input. Used for unit testing. |\n| [stream(request, response)](./firebase-functions.https.callablefunction.md#httpscallablefunctionstream) | |\n\nhttps.CallableFunction.run()\n----------------------------\n\nExecutes the handler function with the provided data as input. Used for unit testing.\n\n**Signature:** \n\n run(request: CallableRequest\u003cT\u003e): Return;\n\n### Parameters\n\n| Parameter | Type | Description |\n|-----------|------------------------------------------------------------------------------------------------------|-------------|\n| request | [CallableRequest](./firebase-functions.https.callablerequest.md#httpscallablerequest_interface)\\\u003cT\\\u003e | |\n\n**Returns:**\n\nReturn\n\nThe output of the handler function.\n\nhttps.CallableFunction.stream()\n-------------------------------\n\n**Signature:** \n\n stream(request: CallableRequest\u003cT\u003e, response: CallableResponse\u003cStream\u003e): {\n stream: AsyncIterable\u003cStream\u003e;\n output: Return;\n };\n\n### Parameters\n\n| Parameter | Type | Description |\n|-----------|--------------------------------------------------------------------------------------------------------------|-------------|\n| request | [CallableRequest](./firebase-functions.https.callablerequest.md#httpscallablerequest_interface)\\\u003cT\\\u003e | |\n| response | [CallableResponse](./firebase-functions.https.callableresponse.md#httpscallableresponse_interface)\\\u003cStream\\\u003e | |\n\n**Returns:**\n\n{ stream: AsyncIterable\\\u003cStream\\\u003e; output: Return; }"]]