mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 09:07:46 +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
|