hyperboria/nexus/ingest/sinks/base.py
the-superpirate 8472f27ec5 No description
GitOrigin-RevId: ddf02e70d2827c048db49b687ebbcdcc67807ca6
2021-01-04 18:12:22 +03:00

13 lines
224 B
Python

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