function setProgressBarDelay(delay) {
  console.warn(
    "Please replace `Turbo.setProgressBarDelay(delay)` with `Turbo.config.drive.progressBarDelay = delay`. The top-level function is deprecated and will be removed in a future version of Turbo.`"
  )
  config.drive.progressBarDelay = delay
}
Sets the delay after which the progress bar will appear during navigation.

The progress bar appears after 500ms by default.

Note that this method has no effect when used with the iOS or Android
adapters.

@param delay Time to delay in milliseconds