@team-speed-kit/predictive-preloading
    Preparing search index...

    Type Alias RunCondition

    RunCondition: () => boolean

    A function that checks whether Predictive Preloading can run. It must return a boolean. You do not need to check whether SpeedKit is ready at this point, as this will be checked automatically.

    Specify this function to toggle preloading based on certain criteria, like page type or user status.

    Defaults to true.

    Type declaration

      • (): boolean
      • Returns boolean