Skip to content

Add delay option & isDelayOver field

Compare
Choose a tag to compare
@MZanggl MZanggl released this 22 Oct 12:18
· 2 commits to master since this release

By checking the new field isDelayOver in conjunction with isPending, this lets you avoid flashing loading spinners for fast requests.

This release adds

  • new field isDelayOver to the result of promistate.
  • new option delay: Specifies after how many ms isDelayOver will be set to true. Defaults to 200ms.