AllenNeuralDynamics / AllenNeuralDynamics/clabe

Make ZMQ interface for message protocol

Open
#171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
Avg merge
3h 27m
Merged PRs (30d)
3

Description

- [ ] This should use the Aind.Behavior.Services generic protocol
- [ ] Consider using rxpy
- [ ] Should be something that creates a generic client with an api like:
```python
from this_package import RegisteredProtocol
#RegisteredProtocol is a model with all registered messages for the interface
#It follows the base Message[TPayload] format provided from the Aind.Behavior.Services api

client = zmq_client_from_registered_protocol(RegisteredProtocol)
await client.send(RegisteredProtocol.StartMessage(args)) #this awaits the return for the StartMessage
```

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.