Valid 70-480 Dumps shared by ExamDiscuss.com for Helping Passing 70-480 Exam! ExamDiscuss.com now offer the newest 70-480 exam dumps, the ExamDiscuss.com 70-480 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-480 dumps with Test Engine here:
You are developing a web application that uses web workers to process images extracted from an HTML5 CANVAS object on a web page. You need to pass messages between the web workers and the web page. Which three types of objects should you use? (Each correct answer presents a complete solution. Choose three.)
Correct Answer: A,D,E
Explanation/Reference: Explanation: Example: var myHelloWorker = new Worker('helloworkers.js'); You'll then start the worker (andthus a thread under Windows) by sending it a first message: myHelloWorker.postMessage(); Indeed, the Web Workers and the main page are communicating via messages. Those messages can be formed with normal strings or JSON objects. (E) The Web Workers APImakes it possible to execute a JavaScript file asynchronously and autonomously. A web worker is essentially a thread executing a JavaScript file. (A, D) In the first implementations of web workers the browsers only allowed strings to be exchanged as messages. However, recent implementations allow for exchange of values or JSON objects. References: https://www.w3schools.com/HTML/html5_webworkers.asp