我可以在 Google Apps 脚本中使用 HTML5 网络工作者吗?
Can I use HTML5 web workers in Google Apps scripts?
如果可能的话,一直在查看文档。它们可行吗?
- http://www.w3.org/TR/workers/
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/basic_usage
看起来他们不可用,因为尝试 delcare 一次抛出
ReferenceError: "Worker" is not defined. (line 17, file "code")
根据this issue it is not possible to use the normal way, but he found a workaround using inline workers。
如果可能的话,一直在查看文档。它们可行吗?
- http://www.w3.org/TR/workers/
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/basic_usage
看起来他们不可用,因为尝试 delcare 一次抛出
ReferenceError: "Worker" is not defined. (line 17, file "code")
根据this issue it is not possible to use the normal way, but he found a workaround using inline workers。