@web-atoms/core
Version:
9 lines • 410 B
TypeScript
/**
* Defers execution for given milliseconds. And previous pending
* execution is cancelled, so only the last execution will be executed.
*
* This is important when you want to watch multiple events and avoid multiple refresh
* @param n number of milliseconds to defer
*/
export default function Defer(n?: number): (target: any, key: string, descriptor: any) => void;
//# sourceMappingURL=Defer.d.ts.map