@azure/search-documents
Version:
Azure client library to use AI Search for node.js and browser.
9 lines • 416 B
TypeScript
/**
* 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