method MessagePort.prototype.emit
Jump to headingMessagePort.prototype.emit(event: "close"): boolean
Parameters Jump to heading
Jump to headingevent: "close"
Return Type Jump to heading
boolean
Jump to headingMessagePort.prototype.emit(event: "message",value: any,): boolean
Parameters Jump to heading
Jump to headingevent: "message"
Jump to headingvalue: any
Return Type Jump to heading
boolean
Jump to headingMessagePort.prototype.emit(event: "messageerror",error: Error,): boolean
Parameters Jump to heading
Jump to headingevent: "messageerror"
Jump to headingerror: Error
Return Type Jump to heading
boolean
Jump to headingMessagePort.prototype.emit(event: string | symbol,...args: any[],): boolean
Parameters Jump to heading
Jump to headingevent: string | symbol
Jump to heading<span>...args</span>: any[]
Return Type Jump to heading
boolean