Closed SupertigerDev closed 8 months ago
I could indeed reproduce the issue, I'm digging into this...
This should be fixed by https://github.com/socketio/socket.io-adapter/commit/a13f35f0e6b85bbba07f99ee2440e914f1429d83, included in socket.io-adapter@2.5.4
(and thus @socket.io/redis-streams-adapter@0.2.0
).
Could you please check?
Seems to be fixed, thanks ❤️
I have code where I emit before disconnecting the user. However, the User is disconnected before the event is emitted. Is there some kind of
await
thing i could use for emit?Notes: • When removing
disconnectSockets
, theemit
function works. • When removing this streams adapter, theemit
+disconnectSockets
both work perfectly.