Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
port2
Collapse the table of content
Expand the table of content

port2 property

Returns the second MessagePort object of a MessageChannel object.

This property is read-only.

HTML5 Web Messaging

 

Syntax

JavaScript

oPort = object.port2

 

Property values

Type: MessagePort

Port

Standards information

Remarks

See also

Worker
Web worker demo
MessageChannel

 

 

Show:
© 2015 Microsoft