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:
© 2014 Microsoft