Mediator Pattern

The Mediator Pattern is a behavioral design pattern that centralizes communication between objects by introducing a mediator object. This pattern reduces dependencies between objects, promoting loose coupling and simplifying complex interactions in a system.