def async_steps(self, n):
        """Progress simulation by running all agents *n* times asynchronously.
        """
        assert len(self._agents_to_act) == 0
        for _ in range(n):
            self.async_step()
def async_steps ( self , n ) : assert len ( self . _agents_to_act ) == 0 for _ in range ( n ) : self . async_step ( )
Progress simulation by running all agents *n* times asynchronously.