云函数中,能多个函数互相调用?

小程序 文章 2022-02-17 10:02 478 0 全屏看文

AI助手支持GPT4.0

云函数中,能多个函数互相调用?In cloud functions, can multiple functions call each other?

云函数中,能多个函数互相调用?

图1

图2


想要实现如图1的,执行完第一个函数,然后执行第二个,第三个。。要怎么来写呢?

Figure 1 and Figure 2 want to implement the first function as shown in Figure 1, and then execute the second and third functions.. How do you write it?

回答:

八九:

可以

老张:

1、可以。

exports.main = async()=>{await func1()await func2()}async function func1(){}async function func2(){}
社交恐怖分z:

callFunction的success回调里继续 callFunction?

-EOF-

AI助手支持GPT4.0