original_docstring: Decorator to wait if any sync operations are in progress.
docstring: Decorator to wait if any sync operations are in progress.
docstring_tokens: Decorator to wait if any sync operations are in progress .
code: def _wait_if_syncing(f):
      """Decorator to wait if any sync operations are in progress."""
      @six.wraps(f)
      def wrapped(*args, **kwargs):
          with _SYNC_STATE_LOCK.read_lock():
              return f(*args, **kwargs)
      return wrapped
code_tokens: def _wait_if_syncing ( f ) : @ six . wraps ( f ) def wrapped ( * args , ** kwargs ) : with _SYNC_STATE_LOCK . read_lock ( ) : return f ( * args , ** kwargs ) return wrapped
short_docstring: Decorator to wait if any sync operations are in progress.
short_docstring_tokens: Decorator to wait if any sync operations are in progress .
comment: """Decorator to wait if any sync operations are in progress."""