Google apps script 我可以在SuccessHandler中传递多个回调函数吗?

Google apps script 我可以在SuccessHandler中传递多个回调函数吗?,google-apps-script,callback,asynccallback,multiple-arguments,Google Apps Script,Callback,Asynccallback,Multiple Arguments,这是我正在运行的代码 document.addEventListener('DOMContentLoaded', function() { google.script.run.withSuccessHandler(populateSearchDropDown).searchByVehicleNum(); }); 现在我的问题是,, 我可以在SuccessHandler中传递2个回调函数吗 像这样的 google.script.run.withSuccessHandler(function1,f

这是我正在运行的代码

document.addEventListener('DOMContentLoaded', function() {
google.script.run.withSuccessHandler(populateSearchDropDown).searchByVehicleNum();
});
现在我的问题是,, 我可以在SuccessHandler中传递2个回调函数吗

像这样的

google.script.run.withSuccessHandler(function1,function2).scriptFunc();

顺便说一句,我试过了,但它不起作用。在这种情况下,下面的修改怎么样

发件人: 致: 或

参考:
google.script.run.withSuccessHandler(function1,function2).scriptFunc();
google.script.run.withSuccessHandler(sample).scriptFunc();

function sample(e) {
  function1(e);
  function2(e);
}
google.script.run.withSuccessHandler(e => {function1(e), function2(e)}).scriptFunc();