Skip to content

One change, many reactions

When an order is placed, an email must be sent, stock must be reduced and an analytics event recorded. More reactions will be added later.

What does the observer pattern give you here?