parameters: (self)
docstring: Decrement the count by one
docstring_summary: Decrement the count by one
docstring_tokens: Decrement the count by one
function: def decrement(self):
          """Decrement the count by one"""
          with self._lock:
              if self._count == 0:
                  raise RuntimeError(
                      'Counter is at zero. It cannot dip below zero')
              self._count -= 1
              if self._is_finalized and self._count == 0:
                  self._callback()
function_tokens: def decrement ( self ) : with self . _lock : if self . _count == 0 : raise RuntimeError ( 'Counter is at zero. It cannot dip below zero' ) self . _count -= 1 if self . _is_finalized and self . _count == 0 : self . _callback ( )