simple-message-channels/simple_message_channels/smc.py
Luke Murphy 1c67ca74e4
Some checks failed
continuous-integration/drone/push Build is failing
Spec out first steps, nothing works yet
2020-06-30 15:09:04 +02:00

13 lines
303 B
Python

"""Sans I/O wire protocol for Hypercore"""
__all__ = ["SimpleMessageChannel"]
class SimpleMessageChannel:
"""A simple message channel."""
async def send(self, channel: int, type: int, message: bytes) -> bytes:
pass
# TODO(decentral1se): spec out the context manager API of recv