9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function queueGC(delay?: number, useThrottle?: boolean): any;

Defined in: utils/index.d.ts:36

An utility function that queues a garbage collection, multiple calls in quick succession are debounced by default and only one gc will be executed after 900ms.

Parameters

ParameterTypeDescription
delay?numberCustomize the delay
useThrottle?booleanInstead of default debounce strategy, use throttling

Returns

any

Previous
openUrlAsync