@multiversx/sdk-core - v14.0.1
    Preparing search index...

    Class AsyncTimer

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Aborts the timer: rejects the promise (if any) and stops the timer.

      Returns void

    • Starts the timer.

      Parameters

      • timeout: number

        The time (in milliseconds) to wait until resolving the promise.

      Returns Promise<void>