def next(self):
        if (self.peek()):
            return datetime.utcnow()
        else:
            return self.last + self.rate
Returns the number of seconds until the next event can occur
dataset/ETHPy150Open StorjOld/downstream-farmer/downstream_farmer/utils.py/RateLimit.next