AllenNeuralDynamics / AllenNeuralDynamics/one-liner
Add `ping` to check connection
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 3
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.