Reloads the current page.

  • Returns Promise<void>

    A promise that resolves when the page has reloaded.

Methods

  • Parameters

    • fn: () => void

    Returns () => void

  • Parameters

    • ref: () => void

    Returns void