Skip to content

Commit 0df2de0

Browse files
author
Ace Nassri
authored
Background function: return on completion (#1760)
1 parent 774ee22 commit 0df2de0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/node8/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ exports.helloPubSub = (pubSubEvent, context) => {
9191
: 'World';
9292

9393
console.log(`Hello, ${name}!`);
94+
return;
9495
};
9596
// [END functions_helloworld_pubsub_node8]
9697

0 commit comments

Comments
 (0)