@@ -2,7 +2,7 @@ from collections.abc import Awaitable, Callable, Mapping, Sequence
2
2
from contextlib import AbstractAsyncContextManager , AbstractContextManager
3
3
from threading import Event as ThreadingEvent
4
4
from types import ModuleType
5
- from typing import Any , Literal , TypeAlias , overload
5
+ from typing import Any , Concatenate , Literal , TypeAlias , overload
6
6
7
7
import engineio
8
8
from _typeshed import Incomplete
@@ -220,9 +220,9 @@ ClientDisconnectLegacyHandler: TypeAlias = Callable[[], Any]
220
220
ClientConnectErrorHandler : TypeAlias = Callable [[Any ], Any ]
221
221
CatchAllHandler : TypeAlias = Callable [[str , str , Any ], Any ]
222
222
SyncEventHandler : TypeAlias = Callable [
223
- [str , Any ], DataType | tuple [DataType , ...] | None
223
+ Concatenate [str , ... ], DataType | tuple [DataType , ...] | None
224
224
]
225
225
AsyncEventHandler : TypeAlias = Callable [
226
- [str , Any ], Awaitable [DataType | tuple [DataType , ...] | None ]
226
+ Concatenate [str , ... ], Awaitable [DataType | tuple [DataType , ...] | None ]
227
227
]
228
228
EventHandler : TypeAlias = SyncEventHandler | AsyncEventHandler
0 commit comments