We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
观察者模式用于触发联动。
一个对象的改变会触发其它观察者的相关动作,而此对象无需关心连动对象的具体实现。