this in kotlinjs
# javascript
c
this in kotlinjs
g
Don't think so, it's a really low level thing coming from the websocket spec I think. Also the arguments are different. You could probably wrap something around it, but you more likely want to reconnect on error.