(
self,
method: str,
timeout_calculator: TimeoutCalculator,
params: Dict = None,
is_internal: bool = False,
title: str = None,
)
| 59 | self.on("error", lambda exc: self._connection._on_event_listener_error(exc)) |
| 60 | |
| 61 | async def send( |
| 62 | self, |
| 63 | method: str, |
| 64 | timeout_calculator: TimeoutCalculator, |
| 65 | params: Dict = None, |
| 66 | is_internal: bool = False, |
| 67 | title: str = None, |
| 68 | ) -> Any: |
| 69 | return await self._connection.wrap_api_call( |
| 70 | lambda: self._inner_send(method, timeout_calculator, params, False), |
| 71 | is_internal, |
| 72 | title, |
| 73 | ) |
| 74 | |
| 75 | async def send_return_as_dict( |
| 76 | self, |