Threading in Google App Script

google-apps, google-apps-script

Solution

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.

Problem

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?

Original source