pentf
    Preparing search index...

    Function wait

    • Returns a promise that resolves after the specified time. This should be used sparingly and mostly for debugging tests.

      Parameters

      • ms: number

        Number of milliseconds to wait.

      Returns Promise<void>

      await wait(10000); // wait for 10s