UNPKG
@boost/decorators
Version:
latest (5.0.0)
next (5.0.0-alpha.2)
5.0.0
5.0.0-alpha.2
5.0.0-alpha.1
4.0.0
4.0.0-alpha.1
3.0.0
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
Experimental decorators for common patterns.
github.com/milesj/boost
milesj/boost
@boost/decorators
/
mjs
/
Throttle.d.ts
6 lines
•
250 B
TypeScript
View Raw
1
2
3
4
5
6
/** * A method decorator that throttles the execution of a class method to * only fire once within every delay timeframe (in milliseconds). */
export
declare function
Throttle
(delay: number)
: MethodDecorator;
//# sourceMappingURL=Throttle.d.ts.map