图1
图2
想要实现如图1的,执行完第一个函数,然后执行第二个,第三个。。要怎么来写呢?
云函数中,能多个函数互相调用?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(){}
callFunction的success回调里继续 callFunction?
原文出处:云函数中,能多个函数互相调用?
可以