为什么云函数入口执行不了setTimeout
// 云函数入口函数
exports.main = async (event, context) => {
console.log(‘Start—>A’);
setTimeout(function () {
console.log(‘Time out’);
}, 100);
console.log(‘Start—>End’);
}
// 云函数入口函数
exports.main = async (event, context) => {
console.log(‘Start—>A’);
setTimeout(function () {
console.log(‘Time out’);
}, 100);
console.log(‘Start—>End’);
}