fix: 多個同 DeviceId 不同 Session 的客戶端無法同時收到消息
This commit is contained in:
@@ -4,6 +4,7 @@ import * as SocketIo from "socket.io"
|
||||
type EventCallbackFunction = (args: { [key: string]: unknown }, clientInfo: {
|
||||
userId: string
|
||||
deviceId: string
|
||||
sessionId: string
|
||||
ip: string
|
||||
socket: SocketIo.Socket<SocketIo.DefaultEventsMap, SocketIo.DefaultEventsMap, SocketIo.DefaultEventsMap, any>
|
||||
}) => ApiCallbackMessage | Promise<ApiCallbackMessage>
|
||||
|
||||
Reference in New Issue
Block a user