method Socket.prototype.once
#Socket.prototype.once(event: string,listener: (...args: any[]) => void,): this#Socket.prototype.once(event: "close",listener: () => void,): this#Socket.prototype.once(event: "connect",listener: () => void,): this#Socket.prototype.once(event: "error",listener: (err: Error) => void,): this#Socket.prototype.once(event: "listening",listener: () => void,): this#Socket.prototype.once(event: "message",listener: (msg: Buffer,rinfo: RemoteInfo,) => void,): thisParameters #
#event: "message"#listener: (msg: Buffer,rinfo: RemoteInfo,) => voidReturn Type #
this