Function in TypeScript
I have a function
Basically, I want to listen to
The update MutableHashMap I can do it already, but what I should do with the
I try to use
Any help are appreciate!
Basically, I want to listen to
close event on the WebSocket so I can remove it from the MutableHashMap ref. The update MutableHashMap I can do it already, but what I should do with the
socket.on('close', () => {}) ?I try to use
asyncEffect but I don't know how to work with it. I also try with Deferred but also stuck with it.Any help are appreciate!
