Logo Search packages:      
Sourcecode: telepathy-butterfly version File versions  Download package

butterfly::util::decorator::throttled Class Reference

List of all members.


Detailed Description

Throttle the calls to a function by queueing all the calls that happen
before the minimum delay.

Definition at line 92 of file decorator.py.


Public Member Functions

def __call__
def __init__

Private Attributes

 _last_call_time
 _min_delay
 _queue

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index