• Wait for a specific amount of milliseconds to pass

    Parameters

    • milliseconds: number

    Returns Promise<void>

    a promise that resolves after a certain amount of milliseconds

    Example

    await delay(1000);
    

Generated using TypeDoc