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?