Skip to content

Commit 7c98f38

Browse files
labtopiaAce Nassri
authored and
Ace Nassri
committed
Move description from docs into code sample (#630)
As part of making the GCF docs language-agnostic, we are removing language-specific comments from the text and putting them into the code samples instead as code comments.
1 parent ce28093 commit 7c98f38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

functions/helloworld/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ exports.helloBackground = (event, callback) => {
5858
// [START functions_helloworld_pubsub]
5959
/**
6060
* Background Cloud Function to be triggered by Pub/Sub.
61+
* This function is exported by index.js, and executed when
62+
* the trigger topic receives a message.
6163
*
6264
* @param {object} event The Cloud Functions event.
6365
* @param {function} callback The callback function.

0 commit comments

Comments
 (0)