@iamtraction/play-dl
    Preparing search index...

    Class Timer

    Timer Class.

    setTimeout + extra features ( re-starting, pausing, resuming ).

    Index
    • Constructor for Timer Class

      Parameters

      • callback: () => void

        Function to execute when timer is up.

      • time: number

        Total time to wait before execution.

      Returns Timer