@rateLimit

@rateLimit

(n: number): MethodDecorator

Observer method decorator: limit the decorated asynchronous observer method to be invoked only at a maximum frequency, determined by the given number of milliseconds.

Note: This decorator is intended for use on methods that are part of an observer class, see ManagedObject.addObserver().