We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7748944 commit 875353aCopy full SHA for 875353a
1 file changed
DesignPatterns/ObserverPattern/README.md
@@ -1,2 +1,5 @@
1
## 观察者模式
2
3
+### 定义
4
+观察者模式定义了一种一对多的依赖关系,让多个观察者对象同时监听某一个主题对象。这个主题对象在状态模式发生改变时,会通知所有观察者对象,使它们能够自动更新自己。
5
+
0 commit comments