code: def idle_task(self):
          '''called on idle'''
          for r in self.repeats:
              if r.event.trigger():
                  self.mpstate.functions.process_stdin(r.cmd, immediate=Truef idle_task(self):
          '''called on idle'''
          for r in self.repeats:
              if r.event.trigger():
                  self.mpstate.functions.process_stdin(r.cmd, immediate=True)
docs: called on idle