forked from p15670423/monkey
Common: Don't pass 'data' argument to IEventQueue's publish()
This commit is contained in:
parent
3938e2f377
commit
d154a7989c
|
@ -1,5 +1,5 @@
|
||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
from typing import Any, Callable
|
from typing import Callable
|
||||||
|
|
||||||
from common.events import AbstractEvent
|
from common.events import AbstractEvent
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ class IEventQueue(ABC):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def publish(self, event: AbstractEvent, data: Any):
|
def publish(self, event: AbstractEvent):
|
||||||
"""
|
"""
|
||||||
Publishes an event with the given data
|
Publishes an event with the given data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue