Can I have one-to-one relation between observer and subject?

前端 未结 0 1041
醉梦人生
醉梦人生 2021-01-26 19:28

I\'m trying to create a model with observer design pattern. I\'m wondering that my subject can be only one observer. I usually see one subject and many observers in examples.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题