PubSub

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph cluster_builtins { graph [label=builtins]; node [color=1]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } subgraph "cluster_supriya.system" { graph [label="supriya.system"]; node [color=2]; "supriya.system.PubSub.PubSub" [URL="../api/supriya/system/PubSub.html#supriya.system.PubSub.PubSub", color=black, fontcolor=white, label="Pub\nSub", target=_top]; "supriya.system.SupriyaObject.SupriyaObject" [URL="../api/supriya/system/SupriyaObject.html#supriya.system.SupriyaObject.SupriyaObject", label="Supriya\nObject", target=_top]; "supriya.system.SupriyaObject.SupriyaObject" -> "supriya.system.PubSub.PubSub"; } "builtins.object" -> "supriya.system.SupriyaObject.SupriyaObject"; }

class supriya.system.PubSub.PubSub[source]

Attributes Summary

clear
notify
subscribe
subscribe_before
unsubscribe
unsubscribe_after
unsubscribe_all

Special methods

(SupriyaObject).__repr__()

Return repr(self).


Class & static methods

classmethod clear()[source]
classmethod notify(topic, event=None)[source]
classmethod subscribe(subscriber, topic)[source]
classmethod subscribe_before(topic)[source]
classmethod unsubscribe(subscriber, topic)[source]
classmethod unsubscribe_after(topic)[source]
classmethod unsubscribe_all(subscriber)[source]