Create a 'join' of this :class:`._Dispatch` and another. This new dispatcher will dispatch events to both :class:`._Dispatch` objects.
(self, other: _DispatchCommon[_ET])
| 186 | return self._for_class(instance_cls) |
| 187 | |
| 188 | def _join(self, other: _DispatchCommon[_ET]) -> _JoinedDispatcher[_ET]: |
| 189 | """Create a 'join' of this :class:`._Dispatch` and another. |
| 190 | |
| 191 | This new dispatcher will dispatch events to both |
| 192 | :class:`._Dispatch` objects. |
| 193 | |
| 194 | """ |
| 195 | assert "_joined_dispatch_cls" in self.__class__.__dict__ |
| 196 | |
| 197 | return self._joined_dispatch_cls(self, other) |
| 198 | |
| 199 | def __reduce__(self) -> Union[str, Tuple[Any, ...]]: |
| 200 | return _UnpickleDispatch(), (self._instance_cls,) |