tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > QueryOptions > refetchInterval

QueryOptions.refetchInterval property

If set to a number, the query will continuously refetch at this frequency in milliseconds. If set to a function, the function will be executed with the latest data and query to compute a frequency. Defaults to false.

Signature:

refetchInterval?: number | false;