class_docstr: Asyncio equivalent to threading.Barrier
  
  Implements a Barrier primitive.
  Useful for synchronizing a fixed number of tasks at known synchronization
  points. Tasks block on 'wait()' and are simultaneously awoken once they
  have all made their call.
class_docstr_tok: ["Asyncio","equivalent","to","threading.Barrier","Implements","a","Barrier","primitive",".","Useful","for","synchronizing","a","fixed","number","of","tasks","at","known","synchronization","points",".","Tasks","block","on","'wait","(",")","'","and","are","simultaneously","awoken","once","they","have","all","made","their","call","."]
code: def __repr__(self):
      res = super().__repr__()
      extra = f"{self._state.value}"
      if not self.broken:
          extra += f", waiters:{self.n_waiting}/{self.parties}"
      return f"<{res[1:-1]} [{extra}]>"
  
imports: import collections
  import enum
  from .None import exceptions
  from .None import mixins
  from .None import tasks
label_desc: Use image node_id 2 for calling the Barrier obj's underlying member method code with example usage: obj.__repr__() and returns: str, res, str, extra, str