Real-Time-Rate-Limiting-Queue

If more requests are made within the specified interval than the specified number, it waits until the oldest one is older than the interval before making the next request in the queue.

These are versions of this script where the code was updated. Show all versions.

  • v1.0.8 24. 12. 2025
    • updated example code with correct tested code
  • v1.0.7 24. 12. 2025
    • updated @require URL again due to new dependency version, which will have no effect other than FYI, but it's technically a code change
  • v1.0.6 24. 12. 2025
    • updated @require URL to new version of dependency (which changes nothing, since only the script @requires are used)
    • removed @grants that were no longer used
    • clarified metadata required by scripts using this library
    • updated example code
  • v1.0.5 24. 12. 2025
    • minor metadata edit
  • v1.0.5 24. 12. 2025
    • made constructor construct private members properly
  • v1.0.4 24. 12. 2025
    • removed unworkable scheme for storing class
  • v1.0.3 24. 12. 2025
    • learned that when a @required script is updated, the caller's @require metadata needs updating too, or else the caller keeps using the old version of the dependency
  • v1.0.2 24. 12. 2025
    • @granted all privileges needed by dependency
  • v1.0.1 24. 12. 2025
    • addressed bug in code that computes key under which the returned class is stored
  • v1.0.0 23. 12. 2025

    Added @homepageURL and @supportURL to script metadata

  • v1.0.0 22. 12. 2025
    • included license
  • v1.0.0 22. 12. 2025