LiveIntent interview question

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

Interview Answer

Anonymous

Dec 5, 2018

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