Exemplo n.º 1
0
 def call_later_ex(self, _time, _method, args=None, kwargs=None, busy=True):
     args = args or ()
     kwargs = kwargs or {}
     return time.callLater(_time, _method, *args, **kwargs)
Exemplo n.º 2
0
 def initiate(self):
     self.medium.external_counter += 1
     time.callLater(2, self.finish.callback, self)
     return task.NOT_DONE_YET