From 27391b2b7f1d7a4b4081eff9d707a3110817b44e Mon Sep 17 00:00:00 2001 From: Grant Timmerman Date: Fri, 20 Sep 2019 17:36:20 -0300 Subject: [PATCH] refactor: Remove functions_concepts_after_response --- functions/concepts/index.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/functions/concepts/index.js b/functions/concepts/index.js index b4d8dd0dbf..295e961f9c 100644 --- a/functions/concepts/index.js +++ b/functions/concepts/index.js @@ -58,22 +58,6 @@ exports.executionCount = (req, res) => { }; // [END functions_concepts_stateless] -// [START functions_concepts_after_response] -/** - * HTTP Cloud Function that may not completely - * execute due to early HTTP response - * - * @param {Object} req Cloud Function request context. - * @param {Object} res Cloud Function response context. - */ -exports.afterResponse = (req, res) => { - res.end(); - - // This statement may not execute - console.log('Function complete!'); -}; -// [END functions_concepts_after_response] - // [START functions_concepts_after_timeout] /** * HTTP Cloud Function that may not completely