| 41 | |
| 42 | |
| 43 | class TimeUtils: |
| 44 | def time(self): |
| 45 | """Get the current time back |
| 46 | |
| 47 | :rtype: float |
| 48 | :returns: The current time in seconds |
| 49 | """ |
| 50 | return time.time() |
| 51 | |
| 52 | def sleep(self, value): |
| 53 | """Sleep for a designated time |
| 54 | |
| 55 | :type value: float |
| 56 | :param value: The time to sleep for in seconds |
| 57 | """ |
| 58 | return time.sleep(value) |
| 59 | |
| 60 | |
| 61 | class BandwidthLimiter: |
no outgoing calls