bullmq - v5.56.2
    Preparing search index...

    Class TimerManager

    Keeps track on timers created with setTimeout to help clearTimeout for all timers when no more delayed actions needed

    Index

    Constructors

    Methods

    • Creates a new timer and returns its ID.

      Parameters

      • name: string

        Readable name for the timer

      • delay: number

        Delay in milliseconds

      • fn: Function

        Callback function that is executed after the timer expires

      Returns string