Skip to content

Commit 7acfcdb

Browse files
committed
update
1 parent f97b38a commit 7acfcdb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/design/2 observer_pattern.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ tag:
99
- 观察者模式
1010
- 事件模式
1111
editLink: false
12-
description: "行为型设计模式,观察者模式(Observer Pattern)"
12+
description: "行为型设计模式,观察者模式(Observer Pattern)定义了一种一对多的依赖关系,让多个观察者对象同时监听某一个主题对象。当主题对象的状态发生变化时,所有依赖于它的观察者对象都会收到通知并自动更新"
1313
star: 801
1414
sticky: 801
15+
head:
16+
- - meta
17+
- name: keywords
18+
content: 设计模式 观察者模式 事件模式 行为型设计模式
1519
---
1620

1721
### 概述

0 commit comments

Comments
 (0)