# TCPSocket.onClose(function callback)

with Promise style call: Not supported

Mini Program plugin: Not supported

Once the wire is tapped, socket Full shutdown sends out the event

# parameter

# function callback

once socket A callback function that issues the event on full shutdown