methodbun.SocketHandler.endend(socket: Socket<Data>): void | Promise<void>;Called when the other end shuts down its side of the socket by sending a TCP FIN packet.