arisu/node_modules/set-interval-async/dist/clear-interval-async.d.cts
2025-04-04 19:46:15 +01:00

8 lines
374 B
TypeScript

import { SetIntervalAsyncTimer } from "./set-interval-async-timer.cjs";
/**
* Stops an execution cycle started by setIntervalAsync.
* Any ongoing function executions will run until completion,
* but all future ones will be cancelled.
*/
export declare function clearIntervalAsync<HandlerArgs extends unknown[]>(timer: SetIntervalAsyncTimer<HandlerArgs>): Promise<void>;