Home Reference Source Test Repository

buildDocs/throttle.js

import { throttle } from 'lodash';
import { DecoratorConfig, DecoratorFactory } from './factory';
import { PreValueApplicator } from './applicators';
export const Throttle = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true, getter: true }));
export const ThrottleGetter = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { getter: true }));
export const ThrottleSetter = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true }));
export { Throttle as throttle };
export { ThrottleGetter as throttleGetter };
export { ThrottleSetter as throttleSetter };
export default Throttle;