forked from p15670423/monkey
Common: Add EventSubscriber type
This commit is contained in:
parent
83e09ca957
commit
97a612be2d
|
@ -0,0 +1 @@
|
|||
from .types import EventSubscriber
|
|
@ -0,0 +1,5 @@
|
|||
from typing import Callable
|
||||
|
||||
from common.events import AbstractEvent
|
||||
|
||||
EventSubscriber = Callable[[AbstractEvent], None]
|
Loading…
Reference in New Issue