Observer Pattern | CodeSignal Learn