port1 property

Returns the first MessagePort object of a MessageChannel object.

This property is read-only.

HTML5 Web Messaging

Syntax

JavaScript

oPort = object.port1

Property values

Type: MessagePort

Port

Standards information

See also

Worker
Web worker demo
MessageChannel

 

 

Show:
© 2014 Microsoft