hyperboria/nexus/ingest/sinks/base.py

13 lines
224 B
Python
Raw Normal View History

from aiokit import AioThing
class BaseSink(AioThing):
def __init__(self):
super().__init__()
def send(self, data: bytes):
raise NotImplementedError()
async def on_shutdown(self):
pass