コード例 #1
0
 def _get_api_monitor(self, service):
     return service.get_monitor_thread(monitor_thread_wrapper=LoopingCall)
コード例 #2
0
 def _get_non_api_monitor(self, service):
     return service.get_monitor_thread(
         monitor_thread_wrapper=lambda target, kwargs: TimerService(
             1, target, **kwargs))