How many different ways you can stop web worker ?

 Posted by Rajkatie on 1/26/2013 | Category: HTML 5 Interview questions | Views: 2301 | Points: 40

There are two ways to stop a worker: by calling worker.terminate() from the main page (e.g: .html,.aspx,.php page etc) or by calling self.close() inside of the worker itself(e.g: .js page).

Source: | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response