LiveIntent interview question

What is the difference between publish - subscribe and observer patterns?

Interview Answer

Anonymous

5 Dec 2018

Observers are aware of the Subject while publishers and subscribers don’t need to know each other.