Adding JSDoc for the onDisconnect function

adding missing callback doc