Skip to content

Commit d2de28d

Browse files
committed
Merge branch 'copy-push-files-action-9962554850-upload-functions' into development
2 parents 7b05266 + 8b4ebd4 commit d2de28d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
exports = async function(number1, number2){
2+
3+
// To call other named functions:
4+
var result = context.functions.execute("sum", number1, number2);
5+
6+
return result;
7+
};
8+
9+
// This examples calls a function named "sum" that looks like this:
10+
/*
11+
exports = async function(number1, number2) {
12+
return number1 + number2
13+
};
14+
*/

0 commit comments

Comments
 (0)