| 32 | |
| 33 | |
| 34 | class Recorder: |
| 35 | def __init__(self) -> None: |
| 36 | self.requests: list[tuple[str, Mapping[str, Any] | None]] = [] |
| 37 | self.notifications: list[tuple[str, Mapping[str, Any] | None]] = [] |
| 38 | self.contexts: list[DispatchContext[TransportContext]] = [] |
| 39 | self.notified = anyio.Event() |
| 40 | |
| 41 | |
| 42 | def echo_handlers(recorder: Recorder) -> tuple[OnRequest, OnNotify]: |
no outgoing calls