method MessagePort.prototype.onceMessagePort.prototype.once(event: "close",listener: () => void,): thisDeprecatedParametersevent: "close"listener: () => voidReturn TypethisMessagePort.prototype.once(event: "message",listener: (value: any) => void,): thisDeprecatedParametersevent: "message"listener: (value: any) => voidReturn TypethisMessagePort.prototype.once(event: "messageerror",listener: (error: Error) => void,): thisDeprecatedParametersevent: "messageerror"listener: (error: Error) => voidReturn TypethisMessagePort.prototype.once(event: string | symbol,listener: (...args: any[]) => void,): thisDeprecatedParametersevent: string | symbollistener: (...args: any[]) => voidReturn Typethis