code: async def trigger_all(self, *args, **kwargs):
          '''Trigger all agents in the environment to act asynchronously.
  
          :returns: A list of agents' :meth:`act` return values.
  
          Given arguments and keyword arguments are passed down to each agent's
          :meth:`creamas.core.agent.CreativeAgent.act`.
  
          .. note::
  
              By design, the environment's manager agent, i.e. if the environment
              has :attr:`manager`, is excluded from acting.
          '''
          tasks = []
          for a in self.get_agents(addr=False, include_manager=False):
              task = asyncio.ensure_future(self.trigger_act
                                           (*args, agent=a, **kwargs))
              tasks.append(task)
          rets = await asyncio.gather(*tasks)
          return retync def trigger_all(self, *args, **kwargs):
          '''Trigger all agents in the environment to act asynchronously.
  
          :returns: A list of agents' :meth:`act` return values.
  
          Given arguments and keyword arguments are passed down to each agent's
          :meth:`creamas.core.agent.CreativeAgent.act`.
  
          .. note::
  
              By design, the environment's manager agent, i.e. if the environment
              has :attr:`manager`, is excluded from acting.
          '''
          tasks = []
          for a in self.get_agents(addr=False, include_manager=False):
              task = asyncio.ensure_future(self.trigger_act
                                           (*args, agent=a, **kwargs))
              tasks.append(task)
          rets = await asyncio.gather(*tasks)
          return rets
docs: Trigger all agents in the environment to act asynchronously.
  
          :returns: A list of agents' :meth:`act` return values.
  
          Given arguments and keyword arguments are passed down to each agent's
          :meth:`creamas.core.agent.CreativeAgent.act`.
  
          .. note::
  
              By design, the environment's manager agent, i.e. if the environment
              has :attr:`manager`, is excluded from acting.