UNPKG

@azure/search-documents

Version:
9 lines 416 B
/** * Creates an interval that calls the callback every `ms` milliseconds. * In Node.js, the interval is unref'd to prevent it from keeping the process alive. * @param fn - The callback to invoke * @param ms - The interval in milliseconds * @returns A cleanup function to clear the interval */ export declare function createInterval(fn: () => void, ms: number): () => void; //# sourceMappingURL=timers.d.ts.map