What should you do?

You develop a Windows Store app that allows users to modify images by using filters and image-processing algorithms.
The app must meet the following requirements:
Use a web worker to initiate the image-processing algorithms on a separate thread.
Clean up the web worker after processing the algorithms.
You need to ensure that the web worker releases memory after processing the algorithms.
What should you do?
A. From the calling page, call the postMessage() command with the terminate parameter.
B. From the calling page, call the postMessage() command with the clean parameter.
C. From the web worker, call the close() command.
D. From the calling page, call the postMessage() command with the close parameter.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.