Example #1
0
 def _(*args, **kwargs):
     args = yield from as_gather(*args)
     result = getattr(self.test, name)(*args, **kwargs)
     if isawaitable(result):
         result = yield from result
     return result
Example #2
0
 def stop_actors(self, *args):
     all = args or self.all_spawned
     return as_gather(*[send(a, 'stop') for a in all])
Example #3
0
 def stop_actors(self, *args):
     all = args or self.all_spawned
     return as_gather(*[send(a, 'stop') for a in all])