Skip to content

API Documentation / plugins/delay/src / PiniaColadaDelayQuery

Function: PiniaColadaDelayQuery()

ts
function PiniaColadaDelayQuery(options?): PiniaColadaPlugin;

Delays the asyncStatus of queries by a certain amount of time to avoid flickering between refreshes.

Parameters

options?

Pick<PiniaColadaDelayOptions, "delay">

Plugin options

Returns

PiniaColadaPlugin

Released under the MIT License.