Add delay option & isDelayOver field
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 msisDelayOver
will be set to true. Defaults to 200ms.