Click in order · JavaScript and TypeScript course · Module 10: TypeScript in Practice
Communication with a Web Worker
Arrange the steps of communication with a Web Worker.
Items to click
- Terminate the Worker using the terminate method
- Listen for the 'message' event
- Send data using the postMessage method
- Create a new Worker instance
You can check the correct answer by solving this task in the CodeWorlds game.