AllenNeuralDynamics / AllenNeuralDynamics/one-liner

Add `ping` to check connection

Open
#39 1 comment 0 reactions 1 assignee Claimed by @patricklatimer View on GitHub
Dominant language
Python
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.