How to make timeout callback funtion in rabbit ioloop

87 Views Asked by At

I need to make a function to be executed every n seconds. I have found a call_later method, but the problem is it executes only once:

self._connection.ioloop.call_later(self.timeout, self.callback)

How do I properly make a timeout function? Is there any way to use only pika ioloop methods for this?

0

There are 0 best solutions below