@@ -2,7 +2,7 @@ from collections.abc import Awaitable, Callable, Mapping, Sequence
22from contextlib import AbstractAsyncContextManager , AbstractContextManager
33from threading import Event as ThreadingEvent
44from types import ModuleType
5- from typing import Any , Literal , TypeAlias , overload
5+ from typing import Any , Concatenate , Literal , TypeAlias , overload
66
77import engineio
88from _typeshed import Incomplete
@@ -220,9 +220,9 @@ ClientDisconnectLegacyHandler: TypeAlias = Callable[[], Any]
220220ClientConnectErrorHandler : TypeAlias = Callable [[Any ], Any ]
221221CatchAllHandler : TypeAlias = Callable [[str , str , Any ], Any ]
222222SyncEventHandler : TypeAlias = Callable [
223- [str , Any ], DataType | tuple [DataType , ...] | None
223+ Concatenate [str , ... ], DataType | tuple [DataType , ...] | None
224224]
225225AsyncEventHandler : TypeAlias = Callable [
226- [str , Any ], Awaitable [DataType | tuple [DataType , ...] | None ]
226+ Concatenate [str , ... ], Awaitable [DataType | tuple [DataType , ...] | None ]
227227]
228228EventHandler : TypeAlias = SyncEventHandler | AsyncEventHandler
0 commit comments