AllenNeuralDynamics / AllenNeuralDynamics/one-liner
Add `ping` to check connection
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 3
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
It would be useful to have a standard, immediate method for checking if there's still a server connected to your RPC connection.
```python
def ping(self) -> bool:
...
```
There may be a standard zmq way to make this work, see these docs https://zguide.zeromq.org/docs/chapter4/#Heartbeating
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.