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","."]
docstr: Return the number of tasks currently waiting at the barrier.
docstr_tok: ["Return","the","number","of","tasks","currently","waiting","at","the","barrier","."]
code: def n_waiting(self):
      """Return the number of tasks currently waiting at the barrier."""
      if self._state is _BarrierState.FILLING:
          return self._count
      return 0
  
imports: import collections
  import enum
  from .None import exceptions
  from .None import mixins
label_desc: Use image node_id 5 for calling the Barrier obj's underlying member method code with example usage: obj.n_waiting() and returns: int, self