I have a spreadsheet table like below.
| A | B | |
|---|---|---|
| 0 | RJ162718 | =FetchScript(A0) |
| 1 | RJ258445 | =FetchScript(A1) |
| 2 | RJ228027 | =FetchScript(A2) |
| 3 | RJ258362 | =FetchScript(A3) |
| ... | ... | =FetchScript(...) |
The FetchScript function use UrlFetchApp.fetch(url) to fetch a website where is not allow massive api calls.
How to stop script run parallelly or limit the number of executions at a time?
Thanks.
Edit:
Column A is part of url in UrlFetchApp.fetch(url),
for example:
functtion FetchScript(ColunmA) {
url = "https://example.com/" + ColumnA;
response = UrlFetchApp.fetch(url);
//do something
}