2 posts tagged with “locking”

Next Round Robin

nextRoundRobin(key, people, opts) returns the next person in a rotation and remembers that choice in Script Properties. A script lock wraps…

With Menu Cooldown

A menu item that archives rows or sends emails is dangerous when someone double-clicks it. withMenuCooldown(key, seconds, fn, opts) runs fn…