Common: Add EventSubscriber type

This commit is contained in:
Mike Salvatore 2022-08-10 12:34:06 -04:00
parent 83e09ca957
commit 97a612be2d
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1 @@
from .types import EventSubscriber

View File

@ -0,0 +1,5 @@
from typing import Callable
from common.events import AbstractEvent
EventSubscriber = Callable[[AbstractEvent], None]