Google App Script 中的线程 [英] Threading in Google App Script

查看:28
本文介绍了Google App Script 中的线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在 Google Apps 脚本中进行线程处理?目前我正在以编程方式设置触发器来进行线程处理.有没有更好的办法?

Is it possible to do threading in Google Apps Script? Currently I am setting up triggers programmatically to do threading. Is there a better way?

推荐答案

Bruce Mcphearson 有一个很好的例子.他的示例 Apps 脚本中的并行处理在练习中使用了 Map Reduce.他也在使用触发器,但也许可以提供一些不同的视角.

There is a great example from Bruce Mcphearson. His example Parallel Processing in Apps Script uses Map Reduce in exercise. He is utilizing triggers as well, but perhaps may provide some different perspective.

这篇关于Google App Script 中的线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆