Function: disconnected()
disconnected(
request,context):Promise<void>
Defined in: functions/socket.ts:53
disconnected - Socket.IO disconnect callback
This callback fires when a socket.io connection is disconnected. Broadcast to user's room that the user has left
Parameters
request
SocketIOTrigger
The SocketIODataTrigger
context
InvocationContext
The Invocation Context (metadata)
Returns
Promise<void>