Parameters for RPC calls.
| 17 | |
| 18 | |
| 19 | class RPCParams(NamedTuple): |
| 20 | """ Parameters for RPC calls. """ |
| 21 | |
| 22 | # seconds to wait for the response |
| 23 | timeout: Optional[float] = None |
| 24 | |
| 25 | # whether the client needs the response, if False, it will return immediately |
| 26 | need_response: bool = True |
| 27 | |
| 28 | # mode for RPC calls: "sync", "async", or "future" |
| 29 | mode: str = "sync" |
| 30 | |
| 31 | |
| 32 | # --- Custom Exceptions --- |
no outgoing calls
no test coverage detected