k2tzumi/apps-script-jobqueue

Is there a complete example available?

Opened this issue · 1 comments

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"

@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.