MCPcopy Create free account
hub / github.com/apache/qpid-proton / next

Method next

python/proton/_utils.py:571–577  ·  view source on GitHub ↗

Get the next value

(self)

Source from the content-addressed store, hash-verified

569 self.lock = threading.Lock()
570
571 def next(self) -> int:
572 """Get the next value"""
573 self.lock.acquire()
574 self.count += self.step
575 result = self.count
576 self.lock.release()
577 return result
578
579
580class SyncRequestResponse(IncomingMessageHandler):

Callers 1

callMethod · 0.45

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected