method Socket.prototype.once
#Socket.prototype.once(event: string,listener: (...args: any[]) => void,): this
#Socket.prototype.once(event: "close",listener: (hadError: boolean) => void,): this
#Socket.prototype.once(event: "connectionAttempt",listener: (ip: string,port: number,family: number,) => void,): this
#Socket.prototype.once(event: "connectionAttemptFailed",listener: (ip: string,port: number,family: number,) => void,): this
#Socket.prototype.once(event: "connectionAttemptTimeout",listener: (ip: string,port: number,family: number,) => void,): this
#Socket.prototype.once(event: "connect",listener: () => void,): this
#Socket.prototype.once(event: "data",listener: (data: Buffer) => void,): this
#Socket.prototype.once(event: "drain",listener: () => void,): this
#Socket.prototype.once(event: "end",listener: () => void,): this
#Socket.prototype.once(event: "error",listener: (err: Error) => void,): this
#Socket.prototype.once(event: "lookup",listener: (err: Error,address: string,family: string | number,host: string,) => void,): this
#Socket.prototype.once(event: "ready",listener: () => void,): this