云函数返回其承诺后,能安全地执行异步吗?考虑以下模式:
exports.deleteUser = functions.auth.user().onDelete(async (user) => {
const uid = user.uid;
asyncTask1(uid);
asyncTask2(uid); // don't wait for the last task to finish
asyncTask3(uid); // just attempt them all and handle
asyncTask4(uid); // the