Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

start method

Allows the MessagePort to begin receiving messages.

HTML5 Web Messaging

Syntax

MessagePort.start();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Standards information

Remarks

The start method is called implicitly by when an event handler function is assigned to the onmessage property. In Internet Explorer 10, the start method is also called implicitly when a message event is registered using the addEventListener method.

For more info, see MessageChannel for a working messaging demo.

See also

MessagePort
Worker
MessageChannel
Web worker demo

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.