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

Method run

python/proton/_utils.py:489–496  ·  view source on GitHub ↗

Hand control over to the event loop (e.g. if waiting indefinitely for incoming messages)

(self)

Source from the content-addressed store, hash-verified

487 return self.conn.state & (Endpoint.LOCAL_CLOSED | Endpoint.REMOTE_CLOSED)
488
489 def run(self) -> None:
490 """
491 Hand control over to the event loop (e.g. if waiting indefinitely for incoming messages)
492 """
493 while self.container.process():
494 pass
495 self.container.stop()
496 self.container.process()
497
498 def wait(
499 self,

Callers 1

closeMethod · 0.95

Calls 2

processMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected