EN: The Mediator interface declares a method used by components to notify the mediator about various events. The Mediator may react to these events and pass the execution to other components. RU: Интерфейс Посредника предоставляет метод, используемый компонентами для уведомлени
| 17 | |
| 18 | |
| 19 | class Mediator(ABC): |
| 20 | """ |
| 21 | EN: The Mediator interface declares a method used by components to notify |
| 22 | the mediator about various events. The Mediator may react to these events |
| 23 | and pass the execution to other components. |
| 24 | |
| 25 | RU: Интерфейс Посредника предоставляет метод, используемый компонентами для |
| 26 | уведомления посредника о различных событиях. Посредник может реагировать на |
| 27 | эти события и передавать исполнение другим компонентам. |
| 28 | """ |
| 29 | |
| 30 | def notify(self, sender: object, event: str) -> None: |
| 31 | pass |
| 32 | |
| 33 | |
| 34 | class ConcreteMediator(Mediator): |
nothing calls this directly
no outgoing calls
no test coverage detected