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 page that performs CPU-intensive calculations. A web worker processes these calculations on a separate background thread. The process is instantiated from the web page. You need to stop the web worker process after the calculations are completed. Which two actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
Correct Answer: C,D
Explanation/Reference: Explanation: Terminating a worker If you need to immediately terminate a running worker, you can do so by calling the worker's terminate() method: myWorker.terminate(); The worker thread is killed immediately without an opportunity to complete its operations or clean up after itself. Workers may close themselves by calling their own close method: close(); Reference: Using Web Workers