Pathfinder 1e for Foundry VTT
    Preparing search index...

    Function throttle

    • Create throttling function.

      Returned function will execute after defined delay. Multiple calls will be discarded until the callback is executed and new timeout can start.

      Parameters

      • callback: Function

        Callback function

      • delay: number

        Delay in milliseconds

      Returns Function