def call_next(self):
if self.handle is not None:<EOL><INDENT>self.handle.cancel()<EOL><DEDENT>next_time = self.get_next()<EOL>self.handle = self.loop.call_at(next_time, self.call_next)<EOL>self.call_func()<EOL>
Set next hop in the loop. Call task