k2tzumi / apps-script-jobqueue

A simple job queue library for Google Apps Script.
4 stars 0 forks source link

Is there a complete example available? #37

Open TheDanHealy opened 9 months ago

TheDanHealy commented 9 months ago

I'm attempting to use this to queue processing functions for use with doPost(e) web app functions. If I read your instructions clearly, it says to add the library (done), add the snippet at the top of my script (in my Google Script IDE) (done), and then add the other functions below (done). But, lots of the code has squiggly lines and saving the file (Code.gs) says "Syntax error: SyntaxError: Cannot use import statement outside a module line: 1 file: Code.gs"

k2tzumi commented 3 weeks ago

@TheDanHealy

Thank you for your patience. I apologize for the delayed response to this issue.

The following slack bot implementation may be helpful. We use this library mainly when we cannot respond to Salck within 3 seconds.

https://github.com/k2tzumi/openai-slack-bot https://github.com/k2tzumi/mob-timer-bot https://github.com/k2tzumi/hue-kintai-slask-command

Timed asynchronous processing is used by mob-timer-bot.