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.

Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.

  • вер. 1.0.8 24.12.2025
    • updated example code with correct tested code
  • вер. 1.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
  • вер. 1.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
  • вер. 1.0.5 24.12.2025
    • minor metadata edit
  • вер. 1.0.5 24.12.2025
    • made constructor construct private members properly
  • вер. 1.0.4 24.12.2025
    • removed unworkable scheme for storing class
  • вер. 1.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
  • вер. 1.0.2 24.12.2025
    • @granted all privileges needed by dependency
  • вер. 1.0.1 24.12.2025
    • addressed bug in code that computes key under which the returned class is stored
  • вер. 1.0.0 23.12.2025

    Added @homepageURL and @supportURL to script metadata

  • вер. 1.0.0 22.12.2025
    • included license
  • вер. 1.0.0 22.12.2025