Reformatted with black
This commit is contained in:
parent
be7ae5d8f2
commit
c9456e0837
|
@ -93,5 +93,5 @@ __all__ = [
|
|||
"emit",
|
||||
"wait",
|
||||
"get_current_emitter",
|
||||
"set_current_emitter"
|
||||
"set_current_emitter",
|
||||
]
|
||||
|
|
|
@ -134,7 +134,9 @@ class AsyncEventEmitter:
|
|||
# This implementation of emit() returns only after
|
||||
# all handlers have finished executing
|
||||
await self._check_event(event)
|
||||
temp: List[Tuple[int, float, Callable[["AsyncEventEmitter", str], Coroutine[Any, Any, Any]], bool]] = self.handlers[event].copy()
|
||||
temp: List[
|
||||
Tuple[int, float, Callable[["AsyncEventEmitter", str], Coroutine[Any, Any, Any]], bool]
|
||||
] = self.handlers[event].copy()
|
||||
t: Tuple[int, float, Callable[["AsyncEventEmitter", str], Coroutine[Any, Any, Any]], bool]
|
||||
while temp:
|
||||
# We use heappop because we want the first
|
||||
|
|
Loading…
Reference in New Issue