linXiv frontend (TS/JS)
    Preparing search index...

    Function useSlowHint

    • True once active has stayed true for delayMs — for explaining a wait that is sometimes instant and sometimes long, without flashing the explanation at everyone whose operation was fast. Resets as soon as active goes false.

      Parameters

      • active: boolean
      • delayMs: number = 1500

      Returns boolean