AllenNeuralDynamics / AllenNeuralDynamics/one-liner
Add `ping` to check connection
Ouverte
- Langage dominant
- Python
- Étoiles
- 3
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.