MCPcopy
hub / github.com/faif/python-patterns / publish

Method publish

patterns/behavioral/publish_subscribe.py:35–36  ·  view source on GitHub ↗
(self, msg: str)

Source from the content-addressed store, hash-verified

33 self.provider = msg_center
34
35 def publish(self, msg: str) -> None:
36 self.provider.notify(msg)
37
38
39class Subscriber:

Calls 1

notifyMethod · 0.45