Is google apps script synchronous?

While Google Apps Script implements a subset of ECMAScript 5, there’s nothing forcing it to be asynchronous.

While it is true that JavaScript’s major power is its asynchronous nature, the Google developers appear to have given that up in favor of a simpler, more straightforward API.

UrlFetchApp methods are synchronous. They return an HttpResponse object, and they do not take a callback. That, apparently, is an API decision.

Leave a Comment