For AI agents: the complete documentation index is at
llms.txt
. Markdown versions of any page are available by appending
.md
to the URL path.
分类
分类:设计模式
共 1 篇文章
学习观察者模式
观察者模式是一种行为设计模式,允许你定义一种订阅机制,可在对象事件发生时通知多个 “观察” 该对象的对象。
2020年10月21日