mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-30 13:35:49 +01:00
13 lines
224 B
Python
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
|